anchors fill to anchors center in

This commit is contained in:
tiotrom 2021-01-05 00:53:23 +00:00
parent 88b93f691c
commit 70a4f4a17f

View File

@ -35,14 +35,14 @@ Presentation
}
Slide {
anchors.fill: parent
anchors.centerIn: parent
Image {
id: background
source: "slide1.png"
anchors.fill: parent
anchors.centerIn: parent
}
Text {
anchors.horizontalCenter: background1.horizontalCenter
@ -54,7 +54,7 @@ Presentation
}
}
Slide {
anchors.fill: parent
anchors.centerIn: parent
Image {
@ -62,7 +62,7 @@ Presentation
source: "slide2.png"
anchors.fill: parent
anchors.centerIn: parent
}
Text {
anchors.horizontalCenter: background1.horizontalCenter
@ -74,13 +74,13 @@ Presentation
}
}
Slide {
anchors.fill: parent
anchors.centerIn: parent
Image {
id: background2
source: "slide3.png"
anchors.fill: parent
anchors.centerIn: parent
}
Text {
anchors.horizontalCenter: background1.horizontalCenter
@ -92,13 +92,13 @@ Presentation
}
}
Slide {
anchors.fill: parent
anchors.centerIn: parent
Image {
id: background3
source: "slide4.png"
anchors.fill: parent
anchors.centerIn: parent
}
Text {
anchors.horizontalCenter: background1.horizontalCenter
@ -110,13 +110,13 @@ Presentation
}
}
Slide {
anchors.fill: parent
anchors.centerIn: parent
Image {
id: background4
source: "slide5.png"
anchors.fill: parent
anchors.centerIn: parent
}
Text {
anchors.horizontalCenter: background1.horizontalCenter
@ -128,13 +128,13 @@ Presentation
}
}
Slide {
anchors.fill: parent
anchors.centerIn: parent
Image {
id: background5
source: "slide6.png"
anchors.fill: parent
anchors.centerIn: parent
}
Text {
anchors.horizontalCenter: background1.horizontalCenter
@ -147,13 +147,13 @@ Presentation
}
Slide {
anchors.fill: parent
anchors.centerIn: parent
Image {
id: background6
source: "slide7.png"
anchors.fill: parent
anchors.centerIn: parent
}
Text {
anchors.horizontalCenter: background2.horizontalCenter
@ -166,13 +166,13 @@ Presentation
}
Slide {
anchors.fill: parent
anchors.centerIn: parent
Image {
id: background7
source: "slide8.png"
anchors.fill: parent
anchors.centerIn: parent
}
Text {
anchors.horizontalCenter: background3.horizontalCenter
@ -185,13 +185,13 @@ Presentation
}
Slide {
anchors.fill: parent
anchors.centerIn: parent
Image {
id: background8
source: "slide9.png"
anchors.fill: parent
anchors.centerIn: parent
}
Text {
anchors.horizontalCenter: background4.horizontalCenter
@ -204,13 +204,13 @@ Presentation
}
Slide {
anchors.fill: parent
anchors.centerIn: parent
Image {
id: background9
source: "slide10.png"
anchors.fill: parent
anchors.centerIn: parent
}
Text {
anchors.horizontalCenter: background5.horizontalCenter