mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 07:52:50 -05:00
Remove minimum menu size constraint
This commit is contained in:
@@ -24,7 +24,7 @@ Popup {
|
|||||||
contextMenu.close()
|
contextMenu.close()
|
||||||
}
|
}
|
||||||
|
|
||||||
width: Math.max(180, Math.min(300, menuColumn.implicitWidth + Theme.spacingS * 2))
|
width: Math.max(180, menuColumn.implicitWidth + Theme.spacingS * 2)
|
||||||
height: menuColumn.implicitHeight + Theme.spacingS * 2
|
height: menuColumn.implicitHeight + Theme.spacingS * 2
|
||||||
padding: 0
|
padding: 0
|
||||||
closePolicy: Popup.CloseOnPressOutside
|
closePolicy: Popup.CloseOnPressOutside
|
||||||
|
|||||||
@@ -684,7 +684,7 @@ DankPopout {
|
|||||||
contextMenu.close()
|
contextMenu.close()
|
||||||
}
|
}
|
||||||
|
|
||||||
width: 180
|
width: Math.max(180, menuColumn.implicitWidth + Theme.spacingS * 2)
|
||||||
height: menuColumn.implicitHeight + Theme.spacingS * 2
|
height: menuColumn.implicitHeight + Theme.spacingS * 2
|
||||||
padding: 0
|
padding: 0
|
||||||
closePolicy: Popup.CloseOnPressOutside
|
closePolicy: Popup.CloseOnPressOutside
|
||||||
|
|||||||
Reference in New Issue
Block a user