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

TextField fills the entire screen width whatsoever on Android device

    XMLWordPrintable

Details

    • Android

    Description

      A sample is provided for testing.

      A QML TextField will fill the entire screen width regardless of the Layout/anchors/width on an Android device. Anything sits next to TextField overlaps with it. The issue was not observed on macOS or iOS or Windows. Also, other components like TextArea is also free from this issue.

      The sample provides 3 test cases: anchors to the Button next to it without layout, specify width (relative to Screen width and Button implicit width) without layout, and put TextField and Button in a RowLayOut. None of them gives correct width to TextField.

      Attachments

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

        Activity

          People

            kagro Kaj Grönholm
            luqiaochen Luqiao Chen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes