manually set height of MediaProgress
This commit is contained in:
parent
f0ff732329
commit
f3b995e1db
3 changed files with 5 additions and 1 deletions
|
|
@ -6,6 +6,9 @@ Item {
|
||||||
id: container
|
id: container
|
||||||
property var model
|
property var model
|
||||||
|
|
||||||
|
// manually set height
|
||||||
|
Component.onCompleted: height = childrenRect.height
|
||||||
|
|
||||||
Label{
|
Label{
|
||||||
anchors.left: progress.left
|
anchors.left: progress.left
|
||||||
anchors.bottom: progress.top
|
anchors.bottom: progress.top
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ Rectangle {
|
||||||
|
|
||||||
model: container.model
|
model: container.model
|
||||||
// might require height for labels to be shown on RasPi (Qt 5.10)
|
// might require height for labels to be shown on RasPi (Qt 5.10)
|
||||||
|
//2019-04-04: defined in MediaProgress.qml -> test on rasPi
|
||||||
}
|
}
|
||||||
|
|
||||||
PlayerButtons{
|
PlayerButtons{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ Window {
|
||||||
visible: true
|
visible: true
|
||||||
width: 800
|
width: 800
|
||||||
height: 480
|
height: 480
|
||||||
title: "LenaPi 1.0"
|
title: "LenaPi 1.1 - beta"
|
||||||
|
|
||||||
Image{
|
Image{
|
||||||
id: background
|
id: background
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue