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

Different height of QDateEidt

    XMLWordPrintable

Details

    • Linux/Wayland

    Description

      There is a layout problem when comparing two QDateEdit widgets—one with a calendar popup and the other without. The widget without the popup appears to be rendered approximately 2 pixels lower in height, while the widget with the calendar popup is about 1 pixel higher than a normal QLineEdit. This discrepancy in height between the two widgets affects the overall layout.

      Steps to reproduce the issue:

      1. Build and run the attached example project.
      2. Observe the difference between the two QLineEdits.

      Expected Behavior:
      Both QDateEdit widgets should have the same height or render consistently in terms of layout.

      I have attached a screenshot with red highlight lines indicating the issue, along with the example project for further investigation

      It is happening on Kubuntu 24.04.2 LTS and Ubuntu 22.04 LTS.

       

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            chakib Chakib Boutaghane
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes