booru: fix next page button text alignment

This commit is contained in:
end-4
2025-05-22 12:20:11 +02:00
parent 8c67c425e9
commit 1261d5033e
@@ -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"
}
} }
} }
} }