From b4f29b291c96378115bf3a3883858246dc2e73d5 Mon Sep 17 00:00:00 2001 From: Jacob Brydolf Date: Mon, 7 Nov 2016 14:56:05 +0100 Subject: [PATCH] StandardDialog: changed default sizes --- components/StandardDialog.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/StandardDialog.qml b/components/StandardDialog.qml index f93a22ea..39ef1660 100644 --- a/components/StandardDialog.qml +++ b/components/StandardDialog.qml @@ -44,6 +44,7 @@ Window { property alias content: root.text property alias cancelVisible: cancelButton.visible property alias okVisible: okButton.visible + property alias textArea: dialogContent property var icon // same signals as Dialog has @@ -56,8 +57,8 @@ Window { } // TODO: implement without hardcoding sizes - width: 800 - height: 580 + width: 480 + height: 280 ColumnLayout { id: mainLayout @@ -82,9 +83,8 @@ Window { RowLayout { TextArea { id : dialogContent - width: 750 - height: 480 Layout.fillWidth: true + Layout.fillHeight: true font.family: "Arial" textFormat: TextEdit.AutoText readOnly: true