summaryrefslogtreecommitdiffstats
path: root/examples/webengine/customdialogs/forms/FilePickerForm.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webengine/customdialogs/forms/FilePickerForm.ui.qml')
-rw-r--r--examples/webengine/customdialogs/forms/FilePickerForm.ui.qml13
1 files changed, 5 insertions, 8 deletions
diff --git a/examples/webengine/customdialogs/forms/FilePickerForm.ui.qml b/examples/webengine/customdialogs/forms/FilePickerForm.ui.qml
index 9c69204b4..8a230c982 100644
--- a/examples/webengine/customdialogs/forms/FilePickerForm.ui.qml
+++ b/examples/webengine/customdialogs/forms/FilePickerForm.ui.qml
@@ -48,8 +48,8 @@
**
****************************************************************************/
-import QtQuick 2.4
-import QtQuick.Layouts 1.3
+import QtQuick
+import QtQuick.Layouts
Item {
property alias cancelButton: cancelButton
@@ -78,10 +78,7 @@ Item {
Rectangle {
id: rectangle
height: 30
- anchors.rightMargin: 0
- anchors.leftMargin: 0
- anchors.right: parent.right
- anchors.left: parent.left
+ Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
gradient: Gradient {
GradientStop {
position: 0
@@ -157,7 +154,7 @@ Item {
Layout.fillWidth: true
}
- Button {
+ CustomButton {
id: cancelButton
width: 90
height: 30
@@ -165,7 +162,7 @@ Item {
btnBlue: false
}
- Button {
+ CustomButton {
id: okButton
width: 90
height: 30