Commit 77f59f13 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(app): many fixes

parent f3359e4f
...@@ -4,7 +4,6 @@ import QtQuick.Layouts 1.3 ...@@ -4,7 +4,6 @@ import QtQuick.Layouts 1.3
import 'qrc:/ui/components/image' import 'qrc:/ui/components/image'
Message { Message {
Layout.fillWidth: true
backgroundColor: '#E4E4E4' backgroundColor: '#E4E4E4'
id: message id: message
......
import QtQuick 2.7 import QtQuick 2.7
import 'qrc:/ui/components/image'
// =================================================================== // ===================================================================
Item { Item {
...@@ -13,11 +15,10 @@ Item { ...@@ -13,11 +15,10 @@ Item {
rotate.start() rotate.start()
} }
Image { Icon {
anchors.fill: parent anchors.fill: parent
fillMode: Image.PreserveAspectFit
id: backgroundImage id: backgroundImage
source: 'qrc:/imgs/collapse.svg' icon: 'collapse'
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
......
...@@ -54,9 +54,8 @@ Window { ...@@ -54,9 +54,8 @@ Window {
Row { Row {
anchors.left: (!centeredButtons && parent.left) || undefined anchors.left: (!centeredButtons && parent.left) || undefined
anchors.horizontalCenter: parent.horizontalCenter anchors.centerIn: centeredButtons ? parent : undefined
anchors.leftMargin: 50 anchors.leftMargin: 50
anchors.verticalCenter: parent.verticalCenter
height: 30 height: 30
id: buttons id: buttons
spacing: 20 spacing: 20
......
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