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 {
|
PanelWindow {
|
||||||
id: outerPanel
|
id: outerPanel
|
||||||
property bool showOverlay: Settings.settings.dimPanels
|
property bool showOverlay: Settings.settings.dimPanels
|
||||||
property int topMargin: 36
|
property int topMargin: 36 * Theme.scale(screen)
|
||||||
property color overlayColor: showOverlay ? Theme.overlay : "transparent"
|
property color overlayColor: showOverlay ? Theme.overlay : "transparent"
|
||||||
|
|
||||||
function dismiss() {
|
function dismiss() {
|
||||||
|
|
|
||||||
|
|
@ -174,8 +174,8 @@ PanelWithOverlay {
|
||||||
width: sidebarPopupRect.width - sidebarPopupRect.leftPadding
|
width: sidebarPopupRect.width - sidebarPopupRect.leftPadding
|
||||||
height: sidebarPopupRect.height - sidebarPopupRect.bottomPadding
|
height: sidebarPopupRect.height - sidebarPopupRect.bottomPadding
|
||||||
x: sidebarPopupRect.leftPadding + sidebarPopupRect.slideOffset
|
x: sidebarPopupRect.leftPadding + sidebarPopupRect.slideOffset
|
||||||
|
y: 0
|
||||||
color: Theme.backgroundPrimary
|
color: Theme.backgroundPrimary
|
||||||
// anchors.fill: parent
|
|
||||||
bottomLeftRadius: 20
|
bottomLeftRadius: 20
|
||||||
|
|
||||||
Behavior on x {
|
Behavior on x {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue