TrayMenu: proper divider
This commit is contained in:
parent
7c191b3de5
commit
ba39d02537
1 changed files with 1 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ PopupWindow {
|
|||
property bool isSubMenu: false
|
||||
property bool isHovered: rootMouseArea.containsMouse
|
||||
|
||||
implicitWidth: 200 * scaling
|
||||
implicitWidth: 180 * scaling
|
||||
|
||||
// Use the content height of the Flickable for implicit height
|
||||
implicitHeight: Math.min(Screen.height * 0.9, flickable.contentHeight + (Style.marginM * 2 * scaling))
|
||||
|
|
@ -127,7 +127,6 @@ PopupWindow {
|
|||
NDivider {
|
||||
anchors.centerIn: parent
|
||||
width: parent.width - (Style.marginM * scaling * 2)
|
||||
color: Color.mPrimary
|
||||
visible: modelData?.isSeparator ?? false
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue