mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
quicksettings: few other corrections
This commit is contained in:
parent
47845000a7
commit
a2a9384bea
1 changed files with 10 additions and 13 deletions
|
|
@ -66,18 +66,15 @@ PlasmaCore.ColorScope {
|
|||
|
||||
opacity: opacityValue
|
||||
spacing: 0
|
||||
|
||||
anchors {
|
||||
top: mediaWidget.bottom
|
||||
topMargin: minWidthHeight * 0.06
|
||||
topMargin: 0
|
||||
bottom: parent.bottom
|
||||
bottomMargin: minWidthHeight * 0.06
|
||||
right: quickSettings.left
|
||||
rightMargin: minWidthHeight * 0.06
|
||||
left: parent.left
|
||||
leftMargin: minWidthHeight * 0.06
|
||||
}
|
||||
|
||||
|
||||
anchors.margins: minWidthHeight * 0.06
|
||||
|
||||
MobileShell.NotificationsWidget {
|
||||
id: notificationWidget
|
||||
|
|
@ -114,8 +111,8 @@ PlasmaCore.ColorScope {
|
|||
anchors {
|
||||
left: parent.left
|
||||
top: parent.top
|
||||
topMargin: columnLayout.anchors.topMargin / 2
|
||||
leftMargin: columnLayout.anchors.leftMargin
|
||||
topMargin: columnLayout.anchors.margins / 2
|
||||
leftMargin: columnLayout.anchors.margins
|
||||
}
|
||||
|
||||
font.pixelSize: Math.min(40, minWidthHeight * 0.1)
|
||||
|
|
@ -135,7 +132,7 @@ PlasmaCore.ColorScope {
|
|||
top: clock.bottom
|
||||
bottom: isOnLargeScreen ? columnLayout.top : mediaWidget.top
|
||||
topMargin: PlasmaCore.Units.smallSpacing
|
||||
leftMargin: columnLayout.anchors.leftMargin
|
||||
leftMargin: columnLayout.anchors.margins
|
||||
}
|
||||
|
||||
font.pixelSize: Math.min(20, minWidthHeight * 0.05)
|
||||
|
|
@ -146,15 +143,15 @@ PlasmaCore.ColorScope {
|
|||
id: mediaWidget
|
||||
property real fullHeight: visible ? height + PlasmaCore.Units.smallSpacing * 6 : 0
|
||||
|
||||
y: isOnLargeScreen ? date.y - height + date.implicitHeight : date.y + date.implicitHeight + columnLayout.anchors.topMargin / 2
|
||||
y: isOnLargeScreen ? date.y - height + date.implicitHeight : date.y + date.implicitHeight + columnLayout.anchors.margins / 2
|
||||
|
||||
opacity: columnLayout.opacity
|
||||
|
||||
anchors {
|
||||
right: quickSettings.left
|
||||
left: isOnLargeScreen ? date.right : parent.left
|
||||
leftMargin: columnLayout.anchors.leftMargin
|
||||
rightMargin: columnLayout.anchors.rightMargin - quickSettings.leftPadding
|
||||
leftMargin: columnLayout.anchors.margins
|
||||
rightMargin: columnLayout.anchors.margins - quickSettings.leftPadding
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue