mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Replace tons of hardcoded stuff
This commit is contained in:
@@ -13,7 +13,7 @@ PopupWindow {
|
||||
property real anchorX
|
||||
property real anchorY
|
||||
|
||||
implicitWidth: 180 * scaling
|
||||
implicitWidth: Style.baseWidgetSize * 5.625 * scaling
|
||||
implicitHeight: Math.max(60 * scaling, listView.contentHeight + (Style.marginMedium * 2 * scaling))
|
||||
visible: false
|
||||
color: "transparent"
|
||||
@@ -250,7 +250,7 @@ PopupWindow {
|
||||
|
||||
PopupWindow {
|
||||
id: subMenu
|
||||
implicitWidth: 180 * scaling
|
||||
implicitWidth: Style.baseWidgetSize * 5.625 * scaling
|
||||
implicitHeight: Math.max(40, listView.contentHeight + 12)
|
||||
visible: false
|
||||
color: "transparent"
|
||||
|
||||
Reference in New Issue
Block a user