diff options
author | Papoteur <papoteur@mageia.org> | 2020-06-20 15:29:01 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2020-06-20 15:29:01 +0200 |
commit | 05a4b221a461de945b303c0c685a5f3a9071b9f7 (patch) | |
tree | 8ca2705daad6d46dd5cedaaa33103f98198c8d0c /qml | |
parent | a492aa0825d280fedc144f1084eec4e7139f193c (diff) | |
download | mageiawelcome-05a4b221a461de945b303c0c685a5f3a9071b9f7.tar mageiawelcome-05a4b221a461de945b303c0c685a5f3a9071b9f7.tar.gz mageiawelcome-05a4b221a461de945b303c0c685a5f3a9071b9f7.tar.bz2 mageiawelcome-05a4b221a461de945b303c0c685a5f3a9071b9f7.tar.xz mageiawelcome-05a4b221a461de945b303c0c685a5f3a9071b9f7.zip |
Fill buttonbox width with buttons
Diffstat (limited to 'qml')
-rw-r--r-- | qml/mw-ui.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index 000e1e0..c1d0e6f 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -409,7 +409,7 @@ Rectangle { Button { Layout.fillHeight: true - Layout.preferredWidth: (buttonbox.width - 8)/8-9; + Layout.preferredWidth: (buttonbox.width - 8)/(user == 'live' ? itemModelLive.count : itemModel.count) - 9; Layout.topMargin: 6 Layout.bottomMargin: 6 style: ButtonStyle { |