[welcomeq] adjust spacing

make sure the listviews fit in the default window size without overlapping
the language bar
This commit is contained in:
demmm 2020-05-17 12:37:01 +02:00
parent 7e83296aa2
commit e2c99eeb5e
2 changed files with 10 additions and 10 deletions

View File

@ -29,13 +29,13 @@ Rectangle {
focus: true focus: true
Kirigami.Theme.backgroundColor: Kirigami.Theme.backgroundColor Kirigami.Theme.backgroundColor: Kirigami.Theme.backgroundColor
anchors.fill: parent anchors.fill: parent
anchors.topMargin: 70 anchors.topMargin: 50
TextArea { TextArea {
id: recommended id: recommended
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top anchors.top: parent.top
anchors.topMargin: 10 anchors.topMargin: 1
horizontalAlignment: TextEdit.AlignHCenter horizontalAlignment: TextEdit.AlignHCenter
width: 640 width: 640
font.pointSize: 11 font.pointSize: 11
@ -50,7 +50,7 @@ Rectangle {
Rectangle { Rectangle {
width: 640 width: 640
height: 400 height: 360
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
anchors.top: recommended.bottom anchors.top: recommended.bottom
anchors.topMargin: 5 anchors.topMargin: 5
@ -60,14 +60,14 @@ Rectangle {
Item { Item {
width: 640 width: 640
height: 40 height: 35
Column { Column {
anchors.centerIn: parent anchors.centerIn: parent
Rectangle { Rectangle {
implicitWidth: 640 implicitWidth: 640
implicitHeight: 40 implicitHeight: 35
border.color: satisfied ? "#228b22" : "#ffa411" border.color: satisfied ? "#228b22" : "#ffa411"
color: satisfied ? "#f0fff0" : "#ffefd5" color: satisfied ? "#f0fff0" : "#ffefd5"

View File

@ -29,13 +29,13 @@ Rectangle {
focus: true focus: true
Kirigami.Theme.backgroundColor: Kirigami.Theme.backgroundColor Kirigami.Theme.backgroundColor: Kirigami.Theme.backgroundColor
anchors.fill: parent anchors.fill: parent
anchors.topMargin: 70 anchors.topMargin: 50
TextArea { TextArea {
id: required id: required
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top anchors.top: parent.top
anchors.topMargin: 10 anchors.topMargin: 1
horizontalAlignment: TextEdit.AlignHCenter horizontalAlignment: TextEdit.AlignHCenter
width: 640 width: 640
font.pointSize: 11 font.pointSize: 11
@ -50,7 +50,7 @@ Rectangle {
Rectangle { Rectangle {
width: 640 width: 640
height: 400 height: 360
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
anchors.top: required.bottom anchors.top: required.bottom
anchors.topMargin: 5 anchors.topMargin: 5
@ -60,14 +60,14 @@ Rectangle {
Item { Item {
width: 640 width: 640
height: 40 height: 35
Column { Column {
anchors.centerIn: parent anchors.centerIn: parent
Rectangle { Rectangle {
implicitWidth: 640 implicitWidth: 640
implicitHeight: 40 implicitHeight: 35
border.color: mandatory ? "#228b22" : "#ff0000" border.color: mandatory ? "#228b22" : "#ff0000"
color: mandatory ? "#f0fff0" : "#ffc0cb" color: mandatory ? "#f0fff0" : "#ffc0cb"