Size CreateRoom box correctly if window too small
This commit is contained in:
@@ -53,6 +53,7 @@ Rectangle {
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
wrapMode: Text.Wrap
|
||||
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: interfaceBox.verticalSpacing
|
||||
Layout.leftMargin: interfaceBox.horizontalSpacing
|
||||
@@ -63,6 +64,7 @@ Rectangle {
|
||||
id: interfaceBody
|
||||
spacing: interfaceBox.verticalSpacing
|
||||
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin:
|
||||
interfaceTitle.visible ? 0 : interfaceBox.verticalSpacing
|
||||
@@ -76,6 +78,8 @@ Rectangle {
|
||||
flow: width >= buttonRepeater.childrenImplicitWidth ?
|
||||
GridLayout.LeftToRight : GridLayout.TopToBottom
|
||||
|
||||
Layout.preferredWidth: parent.width
|
||||
|
||||
HRepeater {
|
||||
id: buttonRepeater
|
||||
model: []
|
||||
|
Reference in New Issue
Block a user