mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix text wrapping in log viewer
Apparently, the width setting got lost in the previous change. This sets the width of the log text explicitely to the grandparent's width. It fixes text clipping in the log window. Signed-off-by: Sebastian Kügler <sebas@kde.org>
This commit is contained in:
parent
0a22b340e9
commit
5efb145cb6
1 changed files with 3 additions and 1 deletions
|
@ -21,13 +21,15 @@ MobileComponents.Page {
|
|||
contentHeight: logContent.height
|
||||
clip: true
|
||||
ColumnLayout {
|
||||
width: logFlick.width
|
||||
spacing: MobileComponents.Units.smallSpacing
|
||||
MobileComponents.Heading {
|
||||
text: "Application Log"
|
||||
}
|
||||
MobileComponents.Label {
|
||||
id: logContent
|
||||
width: logFlick.width
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.maximumWidth: parent.width
|
||||
wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
|
||||
text: manager.logText
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue