diff options
| author | gabeszm <vgabor92@protonmail.com> | 2026-10-01 21:02:47 +0200 |
|---|---|---|
| committer | gabeszm <vgabor92@protonmail.com> | 2026-10-01 21:02:47 +0200 |
| commit | ae2eb9d0881e3ef8317fb5476e03b9e599439660 (patch) | |
| tree | a6ee42f95ca925a3fde29a8c445b197729a70472 /raveos-sddm-theme/sddm-rave-theme/Components/SessionButton.qml | |
| parent | 159a44375e4dca8079c0e89d1634213f631984b3 (diff) | |
| download | RaveOS-PKGBUILD-ae2eb9d0881e3ef8317fb5476e03b9e599439660.tar.gz RaveOS-PKGBUILD-ae2eb9d0881e3ef8317fb5476e03b9e599439660.zip | |
fix sddm ui
Diffstat (limited to 'raveos-sddm-theme/sddm-rave-theme/Components/SessionButton.qml')
| -rw-r--r-- | raveos-sddm-theme/sddm-rave-theme/Components/SessionButton.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/raveos-sddm-theme/sddm-rave-theme/Components/SessionButton.qml b/raveos-sddm-theme/sddm-rave-theme/Components/SessionButton.qml index ed614b6..045e298 100644 --- a/raveos-sddm-theme/sddm-rave-theme/Components/SessionButton.qml +++ b/raveos-sddm-theme/sddm-rave-theme/Components/SessionButton.qml @@ -1,5 +1,5 @@ -// Config created by Keyitdev https://git.rp1.hu/gabeszm/sddm-rave-theme -// Copyright (C) 2022-2025 Keyitdev +// Config created by gabeszm https://git.rp1.hu/gabeszm/sddm-rave-theme +// Copyright (C) 2026 gabeszm // Based on https://github.com/MarianArlt/sddm-sugar-dark // Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html @@ -11,7 +11,7 @@ Item { height: root.font.pointSize * 1.8 width: parent.width - + property var selectedSession: selectSession.currentIndex property string textConstantSession property int loginButtonWidth @@ -29,7 +29,7 @@ Item { model: sessionModel currentIndex: model.lastIndex textRole: "name" - + Keys.onPressed: function(event) { if ((event.key == Qt.Key_Left || event.key == Qt.Key_Right) && !popup.opened) { popup.open(); @@ -40,7 +40,7 @@ Item { // minus padding width: popupHandler.width - root.font.pointSize * 1.5 anchors.horizontalCenter: popupHandler.horizontalCenter - + contentItem: Text { verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter @@ -50,7 +50,7 @@ Item { font.family: root.font.family color: config.DropdownTextColor } - + background: Rectangle { color: selectSession.highlightedIndex === index ? Qt.rgba(1, 1, 1, 0.15) : "transparent" radius: config.RoundCorners !== "" ? parseInt(config.RoundCorners) / 4 : root.font.pointSize * 0.4 |