summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qml/mw-ui.qml2
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 {