mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Add font settings, replace some Text with NText
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import QtQuick
|
||||
import qs.Commons
|
||||
import qs.Services
|
||||
import qs.Widgets
|
||||
|
||||
// Compact circular statistic display used in the SidePanel
|
||||
Rectangle {
|
||||
@@ -73,7 +74,7 @@ Rectangle {
|
||||
}
|
||||
|
||||
// Percent centered in the circle
|
||||
Text {
|
||||
NText {
|
||||
id: valueLabel
|
||||
anchors.centerIn: parent
|
||||
text: `${root.value}${root.suffix}`
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import qs.Widgets
|
||||
Text {
|
||||
id: root
|
||||
|
||||
font.family: Settings.data.ui.fontFamily
|
||||
font.family: Settings.data.ui.fontDefault
|
||||
font.pointSize: Style.fontSizeM * scaling
|
||||
font.weight: Style.fontWeightMedium
|
||||
color: Color.mOnSurface
|
||||
|
||||
Reference in New Issue
Block a user