From 05a4b221a461de945b303c0c685a5f3a9071b9f7 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sat, 20 Jun 2020 15:29:01 +0200 Subject: Fill buttonbox width with buttons --- qml/mw-ui.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.1