diff --git a/Modules/Bar/Widgets/ActiveWindow.qml b/Modules/Bar/Widgets/ActiveWindow.qml index 6f20c335..8caf90f9 100644 --- a/Modules/Bar/Widgets/ActiveWindow.qml +++ b/Modules/Bar/Widgets/ActiveWindow.qml @@ -239,7 +239,7 @@ Item { property real scrollX: 0 x: scrollX - Row { + RowLayout { spacing: 50 * scaling // Gap between text copies NText { @@ -358,4 +358,4 @@ Item { } } } -} +} \ No newline at end of file diff --git a/Modules/Bar/Widgets/MediaMini.qml b/Modules/Bar/Widgets/MediaMini.qml index b9e23efd..081748af 100644 --- a/Modules/Bar/Widgets/MediaMini.qml +++ b/Modules/Bar/Widgets/MediaMini.qml @@ -269,7 +269,7 @@ Item { property real scrollX: 0 x: scrollX - Row { + RowLayout { spacing: 50 * scaling // Gap between text copies NText { @@ -385,4 +385,4 @@ Item { } } } -} +} \ No newline at end of file diff --git a/Modules/OSD/OSD.qml b/Modules/OSD/OSD.qml index 059dcb5d..df6f574f 100644 --- a/Modules/OSD/OSD.qml +++ b/Modules/OSD/OSD.qml @@ -243,7 +243,7 @@ Variants { Item { anchors.fill: parent - Row { + RowLayout { anchors.left: parent.left anchors.right: parent.right anchors.verticalCenter: parent.verticalCenter @@ -254,7 +254,7 @@ Variants { icon: root.getIcon() color: root.getIconColor() font.pointSize: Style.fontSizeXL * root.scaling - anchors.verticalCenter: parent.verticalCenter + Layout.alignment: Qt.AlignVCenter Behavior on color { ColorAnimation { @@ -266,11 +266,11 @@ Variants { // Progress bar with calculated width Rectangle { - width: Math.round(220 * root.scaling) + Layout.preferredWidth: Math.round(220 * root.scaling) height: panel.barThickness radius: Math.round(panel.barThickness / 2) color: Color.mSurfaceVariant - anchors.verticalCenter: parent.verticalCenter + Layout.alignment: Qt.AlignVCenter Rectangle { anchors.left: parent.left @@ -301,10 +301,10 @@ Variants { color: Color.mOnSurface font.pointSize: Style.fontSizeS * root.scaling font.family: Settings.data.ui.fontFixed - anchors.verticalCenter: parent.verticalCenter + Layout.alignment: Qt.AlignVCenter horizontalAlignment: Text.AlignLeft verticalAlignment: Text.AlignVCenter - width: Math.round(50 * root.scaling) + Layout.preferredWidth: Math.round(50 * root.scaling) } } } @@ -541,4 +541,4 @@ Variants { } } } -} +} \ No newline at end of file diff --git a/Modules/Settings/Bar/WidgetSettings/ActiveWindowSettings.qml b/Modules/Settings/Bar/WidgetSettings/ActiveWindowSettings.qml index f28c4bac..cb4f2c5e 100644 --- a/Modules/Settings/Bar/WidgetSettings/ActiveWindowSettings.qml +++ b/Modules/Settings/Bar/WidgetSettings/ActiveWindowSettings.qml @@ -23,7 +23,6 @@ ColumnLayout { settings.autoHide = valueAutoHide settings.showIcon = valueShowIcon settings.scrollingMode = valueScrollingMode - console.log(JSON.stringify(settings)) return settings }