mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-09 13:12:08 +00:00
BarWidgetSettings: always open centered. (avoid potential warning)
This commit is contained in:
@@ -17,10 +17,6 @@ Popup {
|
|||||||
|
|
||||||
signal updateWidgetSettings(string section, int index, var settings)
|
signal updateWidgetSettings(string section, int index, var settings)
|
||||||
|
|
||||||
// Center popup in parent
|
|
||||||
x: (parent.width - width) * 0.5
|
|
||||||
y: (parent.height - height) * 0.5
|
|
||||||
|
|
||||||
width: Math.max(content.implicitWidth + padding * 2, 500)
|
width: Math.max(content.implicitWidth + padding * 2, 500)
|
||||||
height: content.implicitHeight + padding * 2
|
height: content.implicitHeight + padding * 2
|
||||||
padding: Style.marginXL
|
padding: Style.marginXL
|
||||||
|
|||||||
Reference in New Issue
Block a user