1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-29 16:02:51 -05:00

scalable topbar

This commit is contained in:
bbedward
2025-08-23 15:15:07 -04:00
parent 9d7b617cd6
commit 3f6d330f5f
21 changed files with 162 additions and 110 deletions

View File

@@ -14,6 +14,7 @@ Rectangle {
property var parentScreen
property var hoveredItem: null
property var topBar: null
property real widgetHeight: 30
// The visual root for this window
property Item windowRoot: (Window.window ? Window.window.contentItem : null)
readonly property var sortedToplevels: CompositorService.sortedToplevels
@@ -30,7 +31,7 @@ Rectangle {
}
width: calculatedWidth
height: 30
height: widgetHeight
radius: Theme.cornerRadius
visible: windowCount > 0
clip: false