diff --git a/Widgets/NPanel.qml b/Widgets/NPanel.qml index a115c2b..9b1904e 100644 --- a/Widgets/NPanel.qml +++ b/Widgets/NPanel.qml @@ -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 {