Bar: Using Style.barFontSize everywhere to fix bar's text discrepancies as much as possible. Also removing most fontWeight discrepancies. Only keeping bold for workspace numbers/names.

This commit is contained in:
Lemmy
2026-01-02 01:12:50 -05:00
parent 8752f720f6
commit 851c43142b
12 changed files with 56 additions and 110 deletions
+2 -3
View File
@@ -18,7 +18,6 @@ NIconButton {
property string section: ""
property int sectionWidgetIndex: -1
property int sectionWidgetsCount: 0
property real barScaling: 1.0
icon: ScreenRecorderService.isPending ? "" : "camera-video"
tooltipText: ScreenRecorderService.isRecording ? I18n.tr("tooltips.click-to-stop-recording") : I18n.tr("tooltips.click-to-start-recording")
@@ -55,8 +54,8 @@ NIconButton {
id: pendingSpinner
icon: "loader-2"
visible: ScreenRecorderService.isPending
pointSize: Math.max(1, Style.toOdd(root.width * root.barScaling * 0.65))
applyUiScale: root.applyUiScale
pointSize: Style.barFontSize
applyUiScale: false
color: root.enabled && root.hovering ? colorFgHover : colorFg
anchors.centerIn: parent
transformOrigin: Item.Center