SidePanel: fix vertical position in 1080p
This commit is contained in:
parent
b236955cd5
commit
d973ed066c
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ import qs.Settings
|
|||
PanelWindow {
|
||||
id: outerPanel
|
||||
property bool showOverlay: Settings.settings.dimPanels
|
||||
property int topMargin: 36
|
||||
property int topMargin: 36 * Theme.scale(screen)
|
||||
property color overlayColor: showOverlay ? Theme.overlay : "transparent"
|
||||
|
||||
function dismiss() {
|
||||
|
|
|
|||
|
|
@ -174,8 +174,8 @@ PanelWithOverlay {
|
|||
width: sidebarPopupRect.width - sidebarPopupRect.leftPadding
|
||||
height: sidebarPopupRect.height - sidebarPopupRect.bottomPadding
|
||||
x: sidebarPopupRect.leftPadding + sidebarPopupRect.slideOffset
|
||||
y: 0
|
||||
color: Theme.backgroundPrimary
|
||||
// anchors.fill: parent
|
||||
bottomLeftRadius: 20
|
||||
|
||||
Behavior on x {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue