Merge "volumeslider: rework of slider layout"
[apps/mixer.git] / app / VolumeSlider.qml
index b44d74c..b7a98f8 100644 (file)
@@ -2,24 +2,18 @@ import QtQuick 2.6
 import QtQuick.Layouts 1.1
 import QtQuick.Controls 2.0
 
-RowLayout {
+ColumnLayout {
        anchors.left: parent.left
        anchors.right: parent.right
-       Layout.minimumHeight: 75
+       Layout.minimumHeight: 125
 
        Label {
                font.pixelSize: 24
                text: modelData.name
-               Layout.minimumWidth: 150
-               Layout.maximumWidth: 150
-               elide: Text.ElideRight
        }
        Label {
                font.pixelSize: 24
                text: modelData.value + " %"
-               Layout.minimumWidth: 75
-               Layout.maximumWidth: 75
-               elide: Text.ElideRight
        }
        Slider {
                id: roleValueSlider