mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
clean some values
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user