HMD: Make the 2 buttons visible without scrolling

HMD: Make the 2 buttons visible without scrolling

In HMD, the 2 buttons:
- Open This Domain's Asset Server
- Import Entities (.json)
were not visible without scrolling. people would not even notice their presence
This fix adjust the spacing and the margin to have the entities button on 2 rows when the UI is in landscape mode
this way the button are visible.
This commit is contained in:
Alezia Kurdis 2020-09-28 00:36:42 -04:00 committed by GitHub
parent c2064eed89
commit 5047cf338f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,18 +55,18 @@ TabBar {
font.pixelSize: 14
font.bold: true
anchors.top: parent.top
anchors.topMargin: 28
anchors.topMargin: 30
anchors.left: parent.left
anchors.leftMargin: 28
anchors.leftMargin: 30
}
Flow {
id: createEntitiesFlow
spacing: 35
spacing: 20
anchors.right: parent.right
anchors.rightMargin: 55
anchors.rightMargin: 30
anchors.left: parent.left
anchors.leftMargin: 55
anchors.leftMargin: 30
anchors.top: parent.top
anchors.topMargin: 70
@ -186,9 +186,9 @@ TabBar {
color: hifi.buttons.black
colorScheme: hifi.colorSchemes.dark
anchors.right: parent.right
anchors.rightMargin: 55
anchors.rightMargin: 30
anchors.left: parent.left
anchors.leftMargin: 55
anchors.leftMargin: 30
anchors.top: createEntitiesFlow.bottom
anchors.topMargin: 35
onClicked: {
@ -205,9 +205,9 @@ TabBar {
color: hifi.buttons.black
colorScheme: hifi.colorSchemes.dark
anchors.right: parent.right
anchors.rightMargin: 55
anchors.rightMargin: 30
anchors.left: parent.left
anchors.leftMargin: 55
anchors.leftMargin: 30
anchors.top: assetServerButton.bottom
anchors.topMargin: 20
onClicked: {