mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user