Add radius value, border and hover colors in the folder's menus.
authorCamila Ayres <hello@camilasan.com>
Thu, 12 Sep 2024 17:33:46 +0000 (19:33 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 13 Sep 2024 11:40:45 +0000 (11:40 +0000)
Signed-off-by: Camila Ayres <hello@camilasan.com>
src/gui/tray/TrayFolderListItem.qml
src/gui/tray/TrayFoldersMenuButton.qml

index e44be380f2831a7a18f90d0f713c2371475c2915..c86fe2f501dbe4a478ad90cc714b66a03ef36ea0 100644 (file)
@@ -37,6 +37,7 @@ MenuItem {
             anchors.fill: parent
             anchors.margins: Style.normalBorderWidth
             color: parent.parent.hovered || parent.parent.visualFocus ? palette.highlight : palette.window
+            radius: Style.trayWindowRadius
         }
     }
 
index a2197c7c84a1327f8c3f1352505e77f2e81be467..020f6398acffecffafa858fac76ca7adc50bfb42 100644 (file)
@@ -178,6 +178,12 @@ HeaderButton {
             height: implicitHeight + y > Style.trayWindowHeight ? Style.trayWindowHeight - y : implicitHeight
             closePolicy: Menu.CloseOnPressOutsideParent | Menu.CloseOnEscape
 
+            background: Rectangle {
+                border.color: palette.dark
+                color: palette.window
+                radius: Style.trayWindowRadius
+            }
+
             contentItem: ScrollView {
                 id: foldersMenuScrollView