Commit da7f69e5 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(DialogPlus): remove useless lines

parent ef334013
import QtQuick 2.7 import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.3 import QtQuick.Layouts 1.3
import QtQuick.Window 2.2 import QtQuick.Window 2.2
import 'qrc:/ui/components/dialog'
import 'qrc:/ui/components/form'
Window { Window {
default property alias contents: content.data default property alias contents: content.data
...@@ -15,7 +11,6 @@ Window { ...@@ -15,7 +11,6 @@ Window {
// Required buttons. // Required buttons.
property alias buttons: buttons.data property alias buttons: buttons.data
id: window
modality: Qt.WindowModal modality: Qt.WindowModal
ColumnLayout { ColumnLayout {
...@@ -24,14 +19,12 @@ Window { ...@@ -24,14 +19,12 @@ Window {
// Description. // Description.
DialogDescription { DialogDescription {
Layout.alignment : Qt.AlignTop
Layout.fillWidth: true Layout.fillWidth: true
id: description id: description
} }
// Content. // Content.
Item { Item {
Layout.alignment: Qt.AlignTop
Layout.fillHeight: true Layout.fillHeight: true
Layout.fillWidth: true Layout.fillWidth: true
id: content id: content
...@@ -39,14 +32,12 @@ Window { ...@@ -39,14 +32,12 @@ Window {
// Buttons. // Buttons.
Item { Item {
Layout.alignment: Qt.AlignTop
Layout.fillWidth: true Layout.fillWidth: true
height: 100 height: 100
Row { Row {
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 50 anchors.leftMargin: 50
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
height: 30 height: 30
id: buttons id: buttons
......
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