diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-26 12:03:37 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-26 12:03:37 +0800 |
commit | 48fc594c2d6a2064e8a296e10679c739cfda12dd (patch) | |
tree | f0c3a21f7b5a44efea3de8573ec2d64979b89861 /HomeDefault.ui.qml | |
parent | d830cc9aeef3ad090878bb1a93debcdf0547ea9a (diff) |
Item for banner image container
instead of ColumnLayout
Diffstat (limited to 'HomeDefault.ui.qml')
-rw-r--r-- | HomeDefault.ui.qml | 8 |
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 } } } |