Merge pull request #1913

15b7fe1 layout: fix top margin on various pages (selsta)
This commit is contained in:
luigi1111 2019-02-01 01:06:31 -06:00
commit 225abb3144
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
3 changed files with 3 additions and 1 deletions

View file

@ -40,6 +40,7 @@ Rectangle {
ColumnLayout { ColumnLayout {
id: mainLayout id: mainLayout
anchors.margins: (isMobile)? 17 * scaleRatio : 20 * scaleRatio anchors.margins: (isMobile)? 17 * scaleRatio : 20 * scaleRatio
anchors.topMargin: 40 * scaleRatio
anchors.left: parent.left anchors.left: parent.left
anchors.top: parent.top anchors.top: parent.top
anchors.right: parent.right anchors.right: parent.right

View file

@ -88,6 +88,7 @@ Rectangle {
ColumnLayout { ColumnLayout {
anchors.top: parent.top anchors.top: parent.top
anchors.margins: (isMobile)? 17 * scaleRatio : 20 * scaleRatio anchors.margins: (isMobile)? 17 * scaleRatio : 20 * scaleRatio
anchors.topMargin: 40 * scaleRatio
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right

View file

@ -46,10 +46,10 @@ Rectangle {
ColumnLayout { ColumnLayout {
id: mainLayout id: mainLayout
anchors.margins: (isMobile)? 17 * scaleRatio : 20 * scaleRatio anchors.margins: (isMobile)? 17 * scaleRatio : 20 * scaleRatio
anchors.topMargin: 40 * scaleRatio
anchors.left: parent.left anchors.left: parent.left
anchors.top: parent.top anchors.top: parent.top
anchors.right: parent.right anchors.right: parent.right
anchors.bottom: parent.bottom
spacing: 20 * scaleRatio spacing: 20 * scaleRatio
// solo // solo