aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-07 15:14:48 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-07 15:14:48 -0800
commit1f41d933c0600a4fcea88a5cd66701cbeb4f9644 (patch)
tree7722c30755a27b20032627384b68b233c185e3aa /qt-mobile
parent3d7475b9645af3a28d80adf7fba0ab9cb80fc085 (diff)
parent5efb145cb65abfa28d9efe1553b99c1d107ddbfc (diff)
downloadsubsurface-1f41d933c0600a4fcea88a5cd66701cbeb4f9644.tar.gz
Merge branch 'divedetailssplit' of github.com:sebasje/subsurface
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
}
}
}