Skip to content
Snippets Groups Projects
Commit 479036f6 authored by Massies Alexandre's avatar Massies Alexandre
Browse files

anchors and margins

parent c5593792
No related branches found
No related tags found
No related merge requests found
...@@ -121,11 +121,8 @@ Window { ...@@ -121,11 +121,8 @@ Window {
Row { Row {
id: main_row id: main_row
width: 1800 anchors.fill: parent
height: 900
anchors.verticalCenter: parent.verticalCenter
spacing: 150 spacing: 150
anchors.horizontalCenter: parent.horizontalCenter
Rectangle { Rectangle {
id: rectangle_buttons id: rectangle_buttons
...@@ -133,13 +130,15 @@ Window { ...@@ -133,13 +130,15 @@ Window {
height: 850 height: 850
color: "#323232" color: "#323232"
border.width: 0 border.width: 0
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.leftMargin: 0.05*Window.width
anchors.verticalCenterOffset: 20
Column { Column {
id: column_buttons id: column_buttons
width: 400 width: 400
height: 850 height: 850
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
spacing: 20 spacing: 20
Choosebutton { Choosebutton {
...@@ -260,14 +259,14 @@ Window { ...@@ -260,14 +259,14 @@ Window {
height: 900 height: 900
color: "#323232" color: "#323232"
border.width: 0 border.width: 0
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
Column { Column {
id: center_column id: center_column
width: 700 width: 700
height: 900 height: 900
anchors.verticalCenter: parent.verticalCenter
spacing: 30 spacing: 30
anchors.horizontalCenter: parent.horizontalCenter
Rectangle { Rectangle {
id: rectangle_titre id: rectangle_titre
...@@ -411,6 +410,9 @@ Window { ...@@ -411,6 +410,9 @@ Window {
height: 850 height: 850
color: "#323232" color: "#323232"
border.width: 0 border.width: 0
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
anchors.rightMargin: 0.05*Window.width
Row { Row {
y: 50 y: 50
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment