Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-91109

Inconsistent behaviour of TextArea with horizontalCenter between different platforms (Gallery example)

    XMLWordPrintable

Details

    • Android, iOS/tvOS/watchOS
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hurlevent Oliver Eftevaag
            lukasz.kosiorowski lukasz.kosiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes