Changeset View
Changeset View
Standalone View
Standalone View
desktoppackage/contents/applet/AppletError.qml
Show All 26 Lines | 24 | RowLayout { | |||
---|---|---|---|---|---|
27 | Layout.minimumHeight: units.gridUnit * 8 | 27 | Layout.minimumHeight: units.gridUnit * 8 | ||
28 | 28 | | |||
29 | property alias reason: messageText.text | 29 | property alias reason: messageText.text | ||
30 | 30 | | |||
31 | clip: true | 31 | clip: true | ||
32 | 32 | | |||
33 | PlasmaCore.IconItem { | 33 | PlasmaCore.IconItem { | ||
34 | id: icon | 34 | id: icon | ||
35 | anchors.verticalCenter: parent.verticalCenter | 35 | Layout.alignment: Qt.AlignVCenter | ||
36 | Layout.minimumWidth: units.iconSizes.huge | 36 | Layout.minimumWidth: units.iconSizes.huge | ||
37 | Layout.minimumHeight: units.iconSizes.huge | 37 | Layout.minimumHeight: units.iconSizes.huge | ||
38 | source: "dialog-error" | 38 | source: "dialog-error" | ||
39 | } | 39 | } | ||
40 | 40 | | |||
41 | PlasmaComponents.TextArea { | 41 | PlasmaComponents.TextArea { | ||
42 | id: messageText | 42 | id: messageText | ||
43 | Layout.fillWidth: true | 43 | Layout.fillWidth: true | ||
44 | Layout.fillHeight: true | 44 | Layout.fillHeight: true | ||
45 | verticalAlignment: TextEdit.AlignVCenter | 45 | verticalAlignment: TextEdit.AlignVCenter | ||
46 | backgroundVisible: false | 46 | backgroundVisible: false | ||
47 | readOnly: true | 47 | readOnly: true | ||
48 | width: parent.width - icon.width | 48 | width: parent.width - icon.width | ||
49 | wrapMode: Text.Wrap | 49 | wrapMode: Text.Wrap | ||
50 | } | 50 | } | ||
51 | } | 51 | } |