diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-08-15 15:56:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2019-08-15 15:56:56 +0000 |
commit | bafd538e4a7d64c7831a93f5f126d2af961c5686 (patch) | |
tree | 87cb48a9d13bab49d854395b40ec9566b85d7543 | |
parent | 811a80e57286112d8a35c63ac10853733f7b5e04 (diff) | |
parent | cd772d4009778020073318fb8845095aa81c0f8c (diff) |
Merge "volumeslider: rework of slider layout"icefish_8.99.1icefish/8.99.18.99.1
-rw-r--r-- | app/VolumeSlider.qml | 10 |
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 |