Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
5.2.1
-
None
-
Qt 5.2.1
QtCreator 3.0.1
OS: Windows 8 Pro 64bits
Description
Conditions to reproduce:
- no wrapMode specified on the TextArea
- the text doesn't have any spaces or newlines in it
- the text exceeds the width of the textarea
What's wrong :
-> no horizontal scrollbar shows up
-> mouse selection doesn't work on the right part of the text (the part that exceeds the width of the textarea).
If you specify "wrapMode: Text.NoWrap", it works well although the documentation says it's the default value.
Code snippet:
TextAreaWrapBug.qml
Rectangle {
id: root
width: 400
height: 400
TextArea {
x:50
y:50
height: 100
width: 300
text: "TextWithoutSpacesTextWithoutSpacesTextWithoutSpacesTextWithoutSpacesTextWithoutSpacesTextWithoutSpacesTextWithoutSpacesTextWithoutSpaces"
}
}
Attachments
Issue Links
- is duplicated by
-
QTBUG-54308 The TextArea: horizontal scroll bar never appears
-
- Closed
-
For Gerrit Dashboard: QTBUG-38022 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
82431,2 | Update TextArea::wrapMode docs | stable | qt/qtquickcontrols | Status: MERGED | +2 | 0 |
82446,3 | TextArea: fix wrap mode handling | stable | qt/qtquickcontrols | Status: ABANDONED | -1 | 0 |