summaryrefslogtreecommitdiffstats
path: root/app/Radio.qml
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-06-17 21:29:11 -0400
committerScott Murray <scott.murray@konsulko.com>2022-07-04 21:25:44 +0000
commit147a454d409bbb2c4a243ca67e129284e5f81c3c (patch)
treedc9ce53f43258780ff4f4b4e05217532dd3ed726 /app/Radio.qml
parentf48bb2aab34273bd5b3cc1f9f9d88afbfb231d6b (diff)
Fixes: - Tweak the top image anchoring and scaling so it is not covered by the control bar. - Tweak some item preferred heights to match the layout of the mediaplayer, and unify the control bar position in the two apps at a position closer to mid-screen. Bug-AGL: SPEC-4444 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4ed6e75ea5fccfda9482eec631779cb303e47a60 (cherry picked from commit 06e706215977c1c314a9316e5b853ec6fb54e304)
Diffstat (limited to 'app/Radio.qml')
-rw-r--r--app/Radio.qml12
1 files changed, 8 insertions, 4 deletions
diff --git a/app/Radio.qml b/app/Radio.qml
index f2aa727..bd67c84 100644
--- a/app/Radio.qml
+++ b/app/Radio.qml
@@ -51,16 +51,19 @@ ApplicationWindow {
Item {
Layout.fillWidth: true
Layout.fillHeight: true
- Layout.preferredHeight: 3
+ Layout.preferredHeight: 1080
clip: true
+
Image {
+ anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
- anchors.bottom: parent.bottom
- fillMode: Image.PreserveAspectFit
+ anchors.bottom: controls.top
+ fillMode: Image.Stretch
source: './images/HMI_Radio_Equalizer.svg'
}
Item {
+ id: controls
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
@@ -242,7 +245,8 @@ ApplicationWindow {
Item {
Layout.fillWidth: true
Layout.fillHeight: true
- Layout.preferredHeight: 2
+ Layout.preferredHeight: 480
+
ListView {
anchors.fill: parent
anchors.leftMargin: 50