some unit size changes

This commit is contained in:
Chris Cochrun 2023-01-12 13:42:56 -06:00
parent 8e57630973
commit a146d702dd
2 changed files with 4 additions and 1 deletions

View file

@ -40,6 +40,7 @@ Item {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
elide: Text.ElideLeft elide: Text.ElideLeft
text: "Songs" text: "Songs"
font.pixelSize: Kirigami.Units.gridUnit
} }
Controls.Label { Controls.Label {
@ -48,7 +49,7 @@ Item {
verticalCenter: songLabel.verticalCenter verticalCenter: songLabel.verticalCenter
leftMargin: 15} leftMargin: 15}
text: songsqlmodel.rowCount() text: songsqlmodel.rowCount()
font.pixelSize: 15 font.pixelSize: Kirigami.Units.gridUnit
color: Kirigami.Theme.disabledTextColor color: Kirigami.Theme.disabledTextColor
} }

View file

@ -154,6 +154,7 @@ Item {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.leftMargin: 5 anchors.leftMargin: 5
text: name text: name
font.pixelSize: Kirigami.Units.gridUnit
elide: Text.ElideRight elide: Text.ElideRight
width: parent.width - trailing.width - dragHandle.width - 15 width: parent.width - trailing.width - dragHandle.width - 15
color: { color: {
@ -170,6 +171,7 @@ Item {
anchors.right: parent.right anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.rightMargin: 5 anchors.rightMargin: 5
font.pixelSize: Kirigami.Units.gridUnit
text: type text: type
color: { color: {
if (selected || if (selected ||