Change width of app menu
authorStephan Beyer <s-beyer@gmx.net>
Sat, 6 Jun 2020 21:55:31 +0000 (23:55 +0200)
committerKevin Ottens <ervin@ipsquad.net>
Tue, 9 Jun 2020 12:53:51 +0000 (14:53 +0200)
commit2946c335ba443983a6018ca0f9ba9745d5e1c44a
treec8af39eea48c50b52a4a6aea8cde5c9338f6f42f
parente138c7dcc510d1e44971df89a03e88817ebffd35
Change width of app menu

The app menu had a width based on the header button size which was
way too narrow to display its content.

This commit changes the width based on the contents (menu items) of
the menu, however, limiting the maximum width to half the window width.

Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
src/gui/tray/Window.qml