aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/qml/Log.qml33
1 files changed, 11 insertions, 22 deletions
diff --git a/qt-mobile/qml/Log.qml b/qt-mobile/qml/Log.qml
index c2a00c8c3..f49e3ba73 100644
--- a/qt-mobile/qml/Log.qml
+++ b/qt-mobile/qml/Log.qml
@@ -20,29 +20,18 @@ MobileComponents.Page {
anchors.fill: parent
contentHeight: logContent.height
clip: true
- Item {
- id: logContent
+ ColumnLayout {
width: logFlick.width
- height: childrenRect.height + MobileComponents.Units.smallSpacing * 2
-
- ColumnLayout {
- anchors {
- left: parent.left
- right: parent.right
- top: parent.top
- margins: MobileComponents.Units.smallSpacing
- }
- spacing: MobileComponents.Units.smallSpacing
-
- Text {
- width: logWindow.width
- wrapMode: Text.Wrap
- text: manager.logText
- }
- Item {
- height: MobileComponents.Units.gridUnit * 3
- width: height
- }
+ spacing: MobileComponents.Units.smallSpacing
+ MobileComponents.Heading {
+ text: "Application Log"
+ }
+ MobileComponents.Label {
+ id: logContent
+ Layout.preferredWidth: parent.width
+ Layout.maximumWidth: parent.width
+ wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
+ text: manager.logText
}
}
}