diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-08-05 11:48:08 -0700 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-08-15 15:57:04 +0000 |
commit | 42a22cb9c279ef802028574e167c95db6de943d2 (patch) | |
tree | 87cb48a9d13bab49d854395b40ec9566b85d7543 | |
parent | fdf425dc90fcf357ef4bc2e3f2b34d0b2f1106b0 (diff) |
volumeslider: rework of slider layouthalibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.18.0.68.0.58.0.48.0.38.0.28.0.1halibut
To avoid text cutoff switch to ColumnLayout instead of rows.
Bug-AGL: SPEC-2711
Change-Id: I490d0e92d6ed89613d8fc7d983f869ab848e8932
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
(cherry picked from commit cd772d4009778020073318fb8845095aa81c0f8c)
-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 |