mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-06 05:28:29 -04:00
frame: merge bars with frame window and get things on Top layer by
default
This commit is contained in:
@@ -17,6 +17,9 @@ Item {
|
||||
property real sectionAvailablePrimarySize: 0
|
||||
property bool overrideAxisLayout: false
|
||||
property bool forceVerticalLayout: false
|
||||
// False when a perpendicular bar occupies this edge, so the first widget's click area
|
||||
// doesn't extend past the bar into the neighbour (matters most in the frame surface).
|
||||
property bool edgeIsScreenEdge: true
|
||||
|
||||
readonly property bool isVertical: overrideAxisLayout ? forceVerticalLayout : (axis?.isVertical ?? false)
|
||||
property alias widgetLayoutLoader: layoutLoader
|
||||
@@ -68,7 +71,7 @@ Item {
|
||||
isFirst: index === 0
|
||||
isLast: index === rowRepeater.count - 1
|
||||
sectionSpacing: parent.rowSpacing
|
||||
isLeftBarEdge: true
|
||||
isLeftBarEdge: root.edgeIsScreenEdge
|
||||
isRightBarEdge: false
|
||||
}
|
||||
}
|
||||
@@ -115,7 +118,7 @@ Item {
|
||||
isFirst: index === 0
|
||||
isLast: index === columnRepeater.count - 1
|
||||
sectionSpacing: parent.columnSpacing
|
||||
isTopBarEdge: true
|
||||
isTopBarEdge: root.edgeIsScreenEdge
|
||||
isBottomBarEdge: false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user