Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.2, 5.15.3
-
None
-
-
9025ea98cad57696aeee41a614cf21e9938aa527 (qt/qtdeclarative/dev) 4945ce45181f8d67e42801fbb3064b7435d3e3da (qt/qtdeclarative/6.2)
Description
There is a difference between Android and other platforms, but I'm not sure which behavior is the correct one.
Steps to reproduce:
1. Run 'gallery' example project.
2. Open 'TextArea' page from the drawer.
3. Place the cursor after 'TextArea' word and start deleting the letters
4. Observe that when 'Area' is removed and you start deleted characters from 'Text' word the entire area is centered on iOS/MacOS/Windows, it's not centered on Android.
Expected: I assume the area should not be centered if there is a setting "anchors.horizontalCenter: parent.horizontalCenter", but did not find anything about that in the documentation.
Actual: See the attached videos for more details. On Android text gets centered, it does not work like that on other platforms.
Attachments
For Gerrit Dashboard: QTBUG-91109 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
370127,3 | Gallery example: remove binding loop from TextArea page | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
370729,2 | Gallery example: remove binding loop from TextArea page | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |