summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-08-18 00:28:05 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-08-19 20:15:21 +0800
commit947a9a41c204e0e2aa877e80abf765301ca3c757 (patch)
tree93871686eb00a4dab2607d29875adac2b77c59b6
parent1e35e91fce74a8dcfb68b6a65b31d8610b4dc8c1 (diff)
clip: use proper config for font size
-rw-r--r--launcher/components/Clip.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/launcher/components/Clip.qml b/launcher/components/Clip.qml
index c64ca72..66c3ea9 100644
--- a/launcher/components/Clip.qml
+++ b/launcher/components/Clip.qml
@@ -120,7 +120,7 @@ IComponent {
readonly property Component text: IText {
text: modelData?.data || ""
color: index === root.selectedIndex ? Colors.foreground1 : Colors.foreground2
- font.pixelSize: Style.font.size.largerr
+ font.pixelSize: Launcher.widgetFontSize
}
readonly property Component img: Image {
source: modelData?.data || ""
@@ -132,18 +132,18 @@ IComponent {
IText {
text: modelData.type
color: index === root.selectedIndex ? Colors.foreground2 : Colors.foreground3
- font.pixelSize: Style.font.size.normal
+ font.pixelSize: Launcher.widgetFontSize / 1.35
}
IText {
visible: parent.sinceWhen
text: 'ยท'
color: index === root.selectedIndex ? Colors.foreground2 : Colors.foreground3
- font.pixelSize: Style.font.size.normal
+ font.pixelSize: Launcher.widgetFontSize / 1.35
}
IText {
text: parent.sinceWhen || ""
color: index === root.selectedIndex ? Colors.foreground2 : Colors.foreground3
- font.pixelSize: Style.font.size.normal
+ font.pixelSize: Launcher.widgetFontSize / 1.35
}
}
}