mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 04:45:00 +00:00
resized standard dialog
This commit is contained in:
parent
482bd30c00
commit
d4657804cd
1 changed files with 7 additions and 3 deletions
|
@ -40,9 +40,11 @@ Window {
|
||||||
modality: Qt.ApplicationModal
|
modality: Qt.ApplicationModal
|
||||||
flags: Qt.Window | Qt.FramelessWindowHint
|
flags: Qt.Window | Qt.FramelessWindowHint
|
||||||
property alias title: dialogTitle.text
|
property alias title: dialogTitle.text
|
||||||
property alias content: dialogContent.text
|
property alias text: dialogContent.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 var icon
|
||||||
|
|
||||||
// same signals as Dialog has
|
// same signals as Dialog has
|
||||||
signal accepted()
|
signal accepted()
|
||||||
|
@ -54,8 +56,8 @@ Window {
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: implement without hardcoding sizes
|
// TODO: implement without hardcoding sizes
|
||||||
width: 600
|
width: 800
|
||||||
height: 480
|
height: 580
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: mainLayout
|
id: mainLayout
|
||||||
|
@ -80,6 +82,8 @@ Window {
|
||||||
RowLayout {
|
RowLayout {
|
||||||
TextArea {
|
TextArea {
|
||||||
id : dialogContent
|
id : dialogContent
|
||||||
|
width: 750
|
||||||
|
height: 480
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
textFormat: TextEdit.AutoText
|
textFormat: TextEdit.AutoText
|
||||||
|
|
Loading…
Reference in a new issue