StandardDialog: changed default sizes

This commit is contained in:
Jacob Brydolf 2016-11-07 14:56:05 +01:00 committed by Jaquee
parent 5855700007
commit b4f29b291c
No known key found for this signature in database
GPG key ID: 384E52B09F45DC39

View file

@ -44,6 +44,7 @@ Window {
property alias content: root.text property alias content: root.text
property alias cancelVisible: cancelButton.visible property alias cancelVisible: cancelButton.visible
property alias okVisible: okButton.visible property alias okVisible: okButton.visible
property alias textArea: dialogContent
property var icon property var icon
// same signals as Dialog has // same signals as Dialog has
@ -56,8 +57,8 @@ Window {
} }
// TODO: implement without hardcoding sizes // TODO: implement without hardcoding sizes
width: 800 width: 480
height: 580 height: 280
ColumnLayout { ColumnLayout {
id: mainLayout id: mainLayout
@ -82,9 +83,8 @@ Window {
RowLayout { RowLayout {
TextArea { TextArea {
id : dialogContent id : dialogContent
width: 750
height: 480
Layout.fillWidth: true Layout.fillWidth: true
Layout.fillHeight: true
font.family: "Arial" font.family: "Arial"
textFormat: TextEdit.AutoText textFormat: TextEdit.AutoText
readOnly: true readOnly: true