mirror of
https://github.com/Keyitdev/sddm-astronaut-theme.git
synced 2026-09-24 02:22:09 +00:00
Fix: Cleaned up some code.
This commit is contained in:
@@ -13,7 +13,7 @@ Column {
|
|||||||
|
|
||||||
Label {
|
Label {
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
font.pointSize: config.HeaderText !=="" ? root.font.pointSize * 3 : 0
|
font.pointSize: root.font.pointSize * 3
|
||||||
color: config.HeaderTextColor
|
color: config.HeaderTextColor
|
||||||
renderType: Text.QtRendering
|
renderType: Text.QtRendering
|
||||||
text: config.HeaderText
|
text: config.HeaderText
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Column {
|
|||||||
id: inputContainer
|
id: inputContainer
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
property Control exposeSession: sessionSelect.exposeSession
|
property ComboBox exposeSession: sessionSelect.exposeSession
|
||||||
property bool failed
|
property bool failed
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ ColumnLayout {
|
|||||||
id: formContainer
|
id: formContainer
|
||||||
SDDM.TextConstants { id: textConstants }
|
SDDM.TextConstants { id: textConstants }
|
||||||
|
|
||||||
property int p: config.ScreenPadding
|
property int p: config.ScreenPadding == "" ? 0 : config.ScreenPadding
|
||||||
property string a: config.FormPosition
|
property string a: config.FormPosition
|
||||||
|
|
||||||
Clock {
|
Clock {
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ Item {
|
|||||||
property var selectedSession: selectSession.currentIndex
|
property var selectedSession: selectSession.currentIndex
|
||||||
property string textConstantSession
|
property string textConstantSession
|
||||||
property int loginButtonWidth
|
property int loginButtonWidth
|
||||||
property Control exposeSession: selectSession
|
property ComboBox exposeSession: selectSession
|
||||||
|
|
||||||
ComboBox {
|
ComboBox {
|
||||||
id: selectSession
|
id: selectSession
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ RowLayout {
|
|||||||
property var suspend: ["Suspend", config.TranslateSuspend || textConstants.suspend, sddm.canSuspend]
|
property var suspend: ["Suspend", config.TranslateSuspend || textConstants.suspend, sddm.canSuspend]
|
||||||
property var hibernate: ["Hibernate", config.TranslateHibernate || textConstants.hibernate, sddm.canHibernate]
|
property var hibernate: ["Hibernate", config.TranslateHibernate || textConstants.hibernate, sddm.canHibernate]
|
||||||
|
|
||||||
property Control exposedSession
|
property ComboBox exposedSession
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user