summaryrefslogtreecommitdiff
path: root/HomeDefault.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'HomeDefault.ui.qml')
-rw-r--r--HomeDefault.ui.qml8
1 files changed, 6 insertions, 2 deletions
diff --git a/HomeDefault.ui.qml b/HomeDefault.ui.qml
index 1b59441..5e711a6 100644
--- a/HomeDefault.ui.qml
+++ b/HomeDefault.ui.qml
@@ -34,6 +34,8 @@ Flickable {
Layout.leftMargin: 15
Layout.rightMargin: 15
Layout.bottomMargin: 48
+ Layout.maximumWidth: body.width < 992
+ ? body.width : body.width / 2
FontLoader {
id: heebo
@@ -113,16 +115,18 @@ Flickable {
}
}
- ColumnLayout {
+ Item {
Layout.topMargin: 48
Layout.leftMargin: 24
Layout.rightMargin: 24
+ Layout.fillWidth: true
+ implicitHeight: image.height
Image {
id: image
source: "https://eduport.webestica.com/assets/images/element/07.png"
+ width: parent.width
fillMode: Image.PreserveAspectFit
- Layout.fillWidth: true
}
}
}