qml: styling HelpDialog
This commit is contained in:
@@ -30,9 +30,11 @@ ElDialog {
|
|||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: rootLayout
|
id: rootLayout
|
||||||
width: dialog.parent.width * 2/3
|
width: dialog.parent.width * 3/4
|
||||||
|
spacing: constants.paddingLarge
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
Layout.fillWidth: true
|
||||||
Image {
|
Image {
|
||||||
source: Qt.resolvedUrl('../../../icons/info.png')
|
source: Qt.resolvedUrl('../../../icons/info.png')
|
||||||
Layout.preferredWidth: constants.iconSizeSmall
|
Layout.preferredWidth: constants.iconSizeSmall
|
||||||
@@ -40,15 +42,16 @@ ElDialog {
|
|||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
text: dialog.heading
|
text: dialog.heading
|
||||||
|
font.pixelSize: constants.fontSizeMedium
|
||||||
font.underline: true
|
font.underline: true
|
||||||
font.italic: true
|
font.italic: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
TextArea {
|
Label {
|
||||||
id: message
|
id: message
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
readOnly: true
|
|
||||||
text: dialog.text
|
text: dialog.text
|
||||||
|
font.pixelSize: constants.fontSizeSmall
|
||||||
wrapMode: TextInput.WordWrap
|
wrapMode: TextInput.WordWrap
|
||||||
textFormat: TextEdit.RichText
|
textFormat: TextEdit.RichText
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
|
|||||||
Reference in New Issue
Block a user