mirror of
https://github.com/Keyitdev/sddm-astronaut-theme.git
synced 2026-09-24 02:22:09 +00:00
Update: Refactored how layout positioning works.
This commit is contained in:
@@ -6,9 +6,14 @@ import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
Item {
|
||||
id: virtualKeyboardButtonRoot
|
||||
|
||||
height: virtualKeyboardButton.height
|
||||
width: parent.width / 2
|
||||
|
||||
Button {
|
||||
id: virtualKeyboardButton
|
||||
|
||||
height: root.font.pointSize
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
z: 1
|
||||
|
||||
@@ -28,6 +33,9 @@ Item {
|
||||
contentItem: Text {
|
||||
id: virtualKeyboardButtonText
|
||||
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
|
||||
text: config.TranslateVirtualKeyboardButtonOff || "Virtual Keyboard (off)"
|
||||
font.pointSize: root.font.pointSize * 0.8
|
||||
font.family: root.font.family
|
||||
|
||||
Reference in New Issue
Block a user