NPanel: add margin if bar is floating (except for SettingsPanel)
This commit is contained in:
parent
814cb774a6
commit
f670f88804
1 changed files with 2 additions and 2 deletions
|
|
@ -184,8 +184,8 @@ Loader {
|
|||
anchors.left: true
|
||||
anchors.right: true
|
||||
anchors.bottom: true
|
||||
margins.top: (barIsVisible && !barAtBottom) ? barHeight : 0
|
||||
margins.bottom: (barIsVisible && barAtBottom) ? barHeight : 0
|
||||
margins.top: (barIsVisible && !barAtBottom) ? (barHeight + ((Settings.data.bar.floating && !panelAnchorVerticalCenter) ? Settings.data.bar.marginTop : 0)) : 0
|
||||
margins.bottom: (barIsVisible && barAtBottom) ? (barHeight + ((Settings.data.bar.floating && !panelAnchorVerticalCenter) ? Settings.data.bar.marginBottom : 0)) : 0
|
||||
|
||||
// Close any panel with Esc without requiring focus
|
||||
Shortcut {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue