Commit 2f039141 authored by patrick pereira's avatar patrick pereira 🏃
Browse files

main: Improve anchor code


Signed-off-by: patrick pereira's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 4490d9be
......@@ -87,7 +87,13 @@ ApplicationWindow {
Item {
id: mainContainer
anchors { right: parent.right; top: parent.top; bottom: parent.bottom; left: (Qt.platform.os == "android") ? parent.left:drawer.right; margins: Screen.width >= 1024 ? 20:5 }
anchors {
top: parent.top
bottom: parent.bottom
right: parent.right
left: Qt.platform.os == "android" ? parent.left : drawer.right;
margins: Screen.width >= 1024 ? 20 : 5
}
Image {
source: "qrc:/qml/images/minuet-background.png"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment