|
@ -28,8 +28,8 @@ GridLayout { |
|
|
id: infotext |
|
|
id: infotext |
|
|
Layout.fillWidth: true |
|
|
Layout.fillWidth: true |
|
|
readOnly: true |
|
|
readOnly: true |
|
|
rightPadding: 16 |
|
|
rightPadding: constants.paddingLarge |
|
|
leftPadding: 64 |
|
|
leftPadding: 2*constants.iconSizeLarge |
|
|
wrapMode: TextInput.WordWrap |
|
|
wrapMode: TextInput.WordWrap |
|
|
textFormat: TextEdit.RichText |
|
|
textFormat: TextEdit.RichText |
|
|
background: Rectangle { |
|
|
background: Rectangle { |
|
@ -40,10 +40,10 @@ GridLayout { |
|
|
source: iconStyle == InfoTextArea.IconStyle.Info ? "../../../icons/info.png" : InfoTextArea.IconStyle.Warn ? "../../../icons/warning.png" : InfoTextArea.IconStyle.Error ? "../../../icons/expired.png" : "" |
|
|
source: iconStyle == InfoTextArea.IconStyle.Info ? "../../../icons/info.png" : InfoTextArea.IconStyle.Warn ? "../../../icons/warning.png" : InfoTextArea.IconStyle.Error ? "../../../icons/expired.png" : "" |
|
|
anchors.left: parent.left |
|
|
anchors.left: parent.left |
|
|
anchors.top: parent.top |
|
|
anchors.top: parent.top |
|
|
anchors.leftMargin: 16 |
|
|
anchors.leftMargin: constants.paddingLarge |
|
|
anchors.topMargin: 16 |
|
|
anchors.topMargin: constants.paddingLarge |
|
|
height: 32 |
|
|
height: constants.iconSizeLarge |
|
|
width: 32 |
|
|
width: constants.iconSizeLarge |
|
|
fillMode: Image.PreserveAspectCrop |
|
|
fillMode: Image.PreserveAspectCrop |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|