[vlc-devel] [PATCH 10/29] qml: increase minimum width of views in toolbar editor
Fatih Uzunoglu
fuzun54 at outlook.com
Thu Apr 1 22:22:22 UTC 2021
---
modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml b/modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml
index f38705666a..e6ea6cd852 100644
--- a/modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml
+++ b/modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml
@@ -17,7 +17,7 @@
*****************************************************************************/
import QtQuick 2.11
import QtQuick.Controls 2.4
-import QtQuick.Layouts 1.3
+import QtQuick.Layouts 1.11
import QtQml.Models 2.11
import org.videolan.vlc 0.1
@@ -115,7 +115,7 @@ Rectangle{
Layout.fillHeight: true
Layout.fillWidth: count > 0 || (playerBtnDND_left.count === 0 && playerBtnDND_center.count === 0 && playerBtnDND_right.count === 0)
- Layout.minimumWidth: centerMetric.width
+ Layout.minimumWidth: centerMetric.width * 1.25
Layout.leftMargin: VLCStyle.margin_xsmall
Layout.rightMargin: VLCStyle.margin_xsmall
@@ -149,7 +149,7 @@ Rectangle{
Layout.fillHeight: true
Layout.fillWidth: count > 0 || (playerBtnDND_left.count === 0 && playerBtnDND_center.count === 0 && playerBtnDND_right.count === 0)
- Layout.minimumWidth: centerMetric.width
+ Layout.minimumWidth: centerMetric.width * 1.25
Layout.leftMargin: VLCStyle.margin_xsmall
Layout.rightMargin: VLCStyle.margin_xsmall
@@ -183,7 +183,7 @@ Rectangle{
Layout.fillHeight: true
Layout.fillWidth: count > 0 || (playerBtnDND_left.count === 0 && playerBtnDND_center.count === 0 && playerBtnDND_right.count === 0)
- Layout.minimumWidth: centerMetric.width
+ Layout.minimumWidth: centerMetric.width * 1.25
Layout.leftMargin: VLCStyle.margin_xsmall
Layout.rightMargin: VLCStyle.margin_xsmall
--
2.27.0
More information about the vlc-devel
mailing list