forked from Shinonome/dots-hyprland
clean some values
This commit is contained in:
@@ -193,8 +193,7 @@ Item {
|
|||||||
StyledText {
|
StyledText {
|
||||||
id: commentText
|
id: commentText
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
// font.pixelSize: Appearance.font.pixelSize.smaller
|
font.pixelSize: Config.options.appearance.keybinds.pixelSize.comment || Appearance.font.pixelSize.smaller
|
||||||
font.pixelSize: Config.options.appearance.keybinds.pixelSize.comment
|
|
||||||
text: modelData.comment
|
text: modelData.comment
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Rectangle {
|
|||||||
property real extraBottomBorderWidth: 2
|
property real extraBottomBorderWidth: 2
|
||||||
property color borderColor: Appearance.colors.colOnLayer0
|
property color borderColor: Appearance.colors.colOnLayer0
|
||||||
property real borderRadius: 5
|
property real borderRadius: 5
|
||||||
property int pixelSize: Appearance.font.pixelSize.smallie
|
property int pixelSize: Appearance.font.pixelSize.smaller
|
||||||
property color keyColor: Appearance.m3colors.m3surfaceContainerLow
|
property color keyColor: Appearance.m3colors.m3surfaceContainerLow
|
||||||
implicitWidth: keyFace.implicitWidth + borderWidth * 2
|
implicitWidth: keyFace.implicitWidth + borderWidth * 2
|
||||||
implicitHeight: keyFace.implicitHeight + borderWidth * 2 + extraBottomBorderWidth
|
implicitHeight: keyFace.implicitHeight + borderWidth * 2 + extraBottomBorderWidth
|
||||||
|
|||||||
@@ -1,10 +1,6 @@
|
|||||||
import QtQuick
|
import QtQuick
|
||||||
import Quickshell
|
|
||||||
import Quickshell.Io
|
|
||||||
import QtQuick.Layouts
|
|
||||||
import qs.services
|
import qs.services
|
||||||
import qs.modules.common
|
import qs.modules.common
|
||||||
import qs.modules.common.functions
|
|
||||||
import qs.modules.common.widgets
|
import qs.modules.common.widgets
|
||||||
|
|
||||||
ContentPage {
|
ContentPage {
|
||||||
@@ -220,7 +216,6 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
// text: Translation.tr("Keycap")
|
|
||||||
text: Translation.tr("Keybind font size")
|
text: Translation.tr("Keybind font size")
|
||||||
value: Config.options.appearance.keybinds.pixelSize.key
|
value: Config.options.appearance.keybinds.pixelSize.key
|
||||||
from: Appearance.font.pixelSize.smallest
|
from: Appearance.font.pixelSize.smallest
|
||||||
|
|||||||
Reference in New Issue
Block a user