ws style change

This commit is contained in:
lucy 2026-02-14 01:33:18 +01:00
parent e48edaae42
commit f52d54175a
3 changed files with 7 additions and 6 deletions

View File

@ -35,7 +35,7 @@ Variants {
RowLayout {
id: leftStuff
anchors.margins: Settings.config.barHeight / 4
anchors.margins: Settings.config.floating ? 0 : Settings.config.barHeight / 4
spacing: 10
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter

View File

@ -17,7 +17,7 @@ Rectangle {
Row {
id: workspaceRow
anchors.centerIn: parent
spacing: 5 // Slightly increase spacing between workspace buttons
spacing: 0 // Slightly increase spacing between workspace buttons
Repeater {
id: wsRepeater
@ -38,8 +38,8 @@ Rectangle {
}
required property var modelData
width: !modelData.focused ? 20 : 40
height: isOnMon ? Settings.config.barHeight - Settings.config.barHeight / 2 : 0
width: Settings.config.barHeight - 5
height: Settings.config.barHeight - 10
color: modelData.focused ? Colors.primaryContainer : "transparent"
Behavior on width {
NumberAnimation {

View File

@ -1,9 +1,10 @@
import QtQuick
import qs
import qs.settings
Text {
color: Colors.onSurfaceColor
id: root
color: Colors.onSurfaceColor
property real iconSize: 16
property real fill: 1
property real truncatedFill: fill.toFixed(1) // Reduce memory consumption spikes from constant font remapping
@ -11,7 +12,7 @@ Text {
font {
hintingPreference: Font.PreferNoHinting
family: "Material Symbols Rounded"
pixelSize: iconSize
pixelSize: Settings.config.fontSize
weight: Font.Normal + (Font.DemiBold - Font.Normal) * truncatedFill
variableAxes: {
"FILL": truncatedFill,