tweak osd size

This commit is contained in:
end-4
2025-05-18 18:53:25 +02:00
parent 1ce47424a6
commit 931b276d60
4 changed files with 29 additions and 30 deletions
@@ -21,11 +21,12 @@ Item {
property real valueIndicatorRightPadding: 20 // An icon is circle ish, a column isn't, hence the extra padding
Layout.margins: Appearance.sizes.elevationMargin
implicitWidth: valueIndicator.implicitWidth
implicitWidth: Appearance.sizes.osdWidth
implicitHeight: valueIndicator.implicitHeight
WrapperRectangle {
id: valueIndicator
anchors.fill: parent
radius: Appearance.rounding.full
color: Appearance.colors.colLayer0
implicitWidth: valueRow.implicitWidth
@@ -33,9 +34,10 @@ Item {
RowLayout { // Icon on the left, stuff on the right
id: valueRow
Layout.margins: 10
anchors.fill: parent
spacing: 10
Item {
Item {
implicitWidth: 30
implicitHeight: 30
Layout.alignment: Qt.AlignVCenter
@@ -86,6 +88,7 @@ Item {
StyledProgressBar {
id: valueProgressBar
Layout.fillWidth: true
value: root.value
}
}