fix(sandbox): make scrollview content height grow with content
This is just temporary until #40 lands, but for now it allows for the scrollable content to be grow which is needed to make pages with many components usable.
This commit is contained in:
parent
321a4a1aba
commit
459150afcf
|
@ -70,7 +70,7 @@ StatusWindow {
|
|||
width: parent.width
|
||||
anchors.top: tabs.bottom
|
||||
anchors.bottom: parent.bottom
|
||||
contentHeight: rootWindow.height * rootWindow.factor
|
||||
contentHeight: lightThemeBg.height * rootWindow.factor
|
||||
contentWidth: rootWindow.width * rootWindow.factor
|
||||
clip: true
|
||||
|
||||
|
@ -79,12 +79,14 @@ StatusWindow {
|
|||
id: lightThemeBg
|
||||
|
||||
width: rootWindow.width
|
||||
height: parent.height
|
||||
height: page.height + 64
|
||||
anchors.topMargin: 32
|
||||
color: Theme.palette.baseColor5
|
||||
clip: true
|
||||
scale: rootWindow.factor
|
||||
|
||||
Loader {
|
||||
id: page
|
||||
active: true
|
||||
anchors.centerIn: parent
|
||||
|
||||
|
|
Loading…
Reference in New Issue