forked from Shinonome/dots-hyprland
booru: fix next page button text alignment
This commit is contained in:
@@ -274,18 +274,27 @@ Rectangle {
|
|||||||
Appearance.m3colors.m3surfaceContainerHighest)
|
Appearance.m3colors.m3surfaceContainerHighest)
|
||||||
}
|
}
|
||||||
|
|
||||||
contentItem: RowLayout {
|
contentItem: Item {
|
||||||
spacing: 0
|
anchors.fill: parent
|
||||||
StyledText {
|
implicitHeight: nextPageRow.implicitHeight
|
||||||
Layout.alignment: Text.AlignVCenter
|
implicitWidth: nextPageRow.implicitWidth
|
||||||
text: "Next page"
|
|
||||||
color: Appearance.m3colors.m3onSurface
|
RowLayout {
|
||||||
}
|
id: nextPageRow
|
||||||
MaterialSymbol {
|
anchors.centerIn: parent
|
||||||
Layout.alignment: Text.AlignVCenter
|
spacing: 0
|
||||||
iconSize: Appearance.font.pixelSize.larger
|
StyledText {
|
||||||
color: Appearance.m3colors.m3onSurface
|
Layout.alignment: Qt.AlignVCenter
|
||||||
text: "chevron_right"
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
text: "Next page"
|
||||||
|
color: Appearance.m3colors.m3onSurface
|
||||||
|
}
|
||||||
|
MaterialSymbol {
|
||||||
|
Layout.alignment: Qt.AlignVCenter
|
||||||
|
iconSize: Appearance.font.pixelSize.larger
|
||||||
|
color: Appearance.m3colors.m3onSurface
|
||||||
|
text: "chevron_right"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user