mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 17:20:27 +02:00
Wrap Items in Flickables so scrollbars will work - contents of flickable not showing up rn
This commit is contained in:
parent
1dd6aebede
commit
0e7dff05fb
1 changed files with 217 additions and 202 deletions
|
@ -58,12 +58,18 @@ Rectangle {
|
|||
id: tempAvatarPageContainer
|
||||
visible: true
|
||||
|
||||
GridLayout {
|
||||
id: tempAvatarPageGrid
|
||||
Flickable {
|
||||
anchors.fill: parent
|
||||
anchors.leftMargin: 50
|
||||
anchors.topMargin: 50
|
||||
anchors.rightMargin: 100
|
||||
clip: true
|
||||
contentWidth: parent.width
|
||||
contentHeight: childrenRect.height
|
||||
|
||||
GridLayout {
|
||||
id: tempAvatarPageGrid
|
||||
anchors.fill: parent
|
||||
columns: landscapeOrientation ? 2 : 1
|
||||
rows: landscapeOrientation ? 1 : 2
|
||||
|
||||
|
@ -173,6 +179,7 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
SimplifiedControls.VerticalScrollBar {
|
||||
parent: tempAvatarPageContainer
|
||||
|
@ -184,9 +191,11 @@ Rectangle {
|
|||
visible: false
|
||||
anchors.fill: parent
|
||||
|
||||
SimplifiedControls.VerticalScrollBar {
|
||||
parent: tempAvatarPageContainer
|
||||
}
|
||||
Flickable {
|
||||
anchors.fill: parent
|
||||
clip: true
|
||||
contentWidth: parent.width
|
||||
contentHeight: childrenRect.height
|
||||
|
||||
HifiStylesUit.RalewayRegular {
|
||||
id: controlsDescriptionText
|
||||
|
@ -296,6 +305,12 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
SimplifiedControls.VerticalScrollBar {
|
||||
parent: controlsContainer
|
||||
}
|
||||
}
|
||||
|
||||
signal sendToScript(var message);
|
||||
|
|
Loading…
Reference in a new issue