mirror of
https://github.com/Keyitdev/sddm-astronaut-theme.git
synced 2026-09-24 02:22:09 +00:00
Update: Refactored how scaling works across different resolutions.
This commit is contained in:
@@ -13,7 +13,7 @@ Item {
|
||||
|
||||
Button {
|
||||
id: virtualKeyboardButton
|
||||
height: root.font.pointSize
|
||||
height: rootHeightUnit
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
z: 1
|
||||
|
||||
@@ -37,7 +37,7 @@ Item {
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
|
||||
text: config.TranslateVirtualKeyboardButtonOff || "Virtual Keyboard (off)"
|
||||
font.pointSize: root.font.pointSize * 0.8
|
||||
font.pointSize: rootFontSize * 0.8
|
||||
font.family: root.font.family
|
||||
color: parent.visualFocus ? config.HoverVirtualKeyboardButtonTextColor : config.VirtualKeyboardButtonTextColor
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user