aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-08-15 15:56:56 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-08-15 15:56:56 +0000
commitbafd538e4a7d64c7831a93f5f126d2af961c5686 (patch)
tree87cb48a9d13bab49d854395b40ec9566b85d7543
parent811a80e57286112d8a35c63ac10853733f7b5e04 (diff)
parentcd772d4009778020073318fb8845095aa81c0f8c (diff)
Merge "volumeslider: rework of slider layout"icefish_8.99.1icefish/8.99.18.99.1
-rw-r--r--app/VolumeSlider.qml10
1 files changed, 2 insertions, 8 deletions
diff --git a/app/VolumeSlider.qml b/app/VolumeSlider.qml
index b44d74c..b7a98f8 100644
--- a/app/VolumeSlider.qml
+++ b/app/VolumeSlider.qml
@@ -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