feat(GODT-2273): menu with "Close window" and "Quit Bridge" button in main window.

This commit is contained in:
Xavier Michelon
2023-02-15 08:33:40 +01:00
parent 761c16d8cd
commit a2b9fc3dee
5 changed files with 119 additions and 6 deletions

View File

@ -26,13 +26,12 @@ T.MenuItem {
property ColorScheme colorScheme
implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
implicitContentWidth + leftPadding + rightPadding)
width: parent.width // required. Other item overflows to the right of the menu and get clipped.
implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
implicitContentHeight + topPadding + bottomPadding,
implicitIndicatorHeight + topPadding + bottomPadding)
padding: 6
padding: 12
spacing: 6
icon.width: 24