diff options
Diffstat (limited to 'app/VolumeSlider.qml')
-rw-r--r-- | app/VolumeSlider.qml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/app/VolumeSlider.qml b/app/VolumeSlider.qml index b7a98f8..b44d74c 100644 --- a/app/VolumeSlider.qml +++ b/app/VolumeSlider.qml @@ -2,18 +2,24 @@ import QtQuick 2.6 import QtQuick.Layouts 1.1 import QtQuick.Controls 2.0 -ColumnLayout { +RowLayout { anchors.left: parent.left anchors.right: parent.right - Layout.minimumHeight: 125 + Layout.minimumHeight: 75 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 |