clean some values

This commit is contained in:
Madjid Taha
2025-10-28 10:41:43 +01:00
parent 886e16a1cf
commit fc479c3582
3 changed files with 2 additions and 8 deletions
@@ -193,8 +193,7 @@ Item {
StyledText {
id: commentText
anchors.centerIn: parent
// font.pixelSize: Appearance.font.pixelSize.smaller
font.pixelSize: Config.options.appearance.keybinds.pixelSize.comment
font.pixelSize: Config.options.appearance.keybinds.pixelSize.comment || Appearance.font.pixelSize.smaller
text: modelData.comment
}
}
@@ -11,7 +11,7 @@ Rectangle {
property real extraBottomBorderWidth: 2
property color borderColor: Appearance.colors.colOnLayer0
property real borderRadius: 5
property int pixelSize: Appearance.font.pixelSize.smallie
property int pixelSize: Appearance.font.pixelSize.smaller
property color keyColor: Appearance.m3colors.m3surfaceContainerLow
implicitWidth: keyFace.implicitWidth + borderWidth * 2
implicitHeight: keyFace.implicitHeight + borderWidth * 2 + extraBottomBorderWidth
@@ -1,10 +1,6 @@
import QtQuick
import Quickshell
import Quickshell.Io
import QtQuick.Layouts
import qs.services
import qs.modules.common
import qs.modules.common.functions
import qs.modules.common.widgets
ContentPage {
@@ -220,7 +216,6 @@ ContentPage {
}
ConfigSpinBox {
// text: Translation.tr("Keycap")
text: Translation.tr("Keybind font size")
value: Config.options.appearance.keybinds.pixelSize.key
from: Appearance.font.pixelSize.smallest