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

QDateTime (Qt 5.2.1) widget looks bad under Mac OS 10.9

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.3.0
    • Component/s: GUI: Look'n'Feel
    • Labels:
      None
    • Environment:
      Mac OS X 10.9.2 (Mavericks), Qt 5.2.1 SDK
    • Platform/s:
      macOS

      Description

      Good day.

      I've asked a question on stackoverflow and found that i should report this one because it's probably a bug.

      So, i work on Mac OS 10.9.2 with Qt 5.2.1. In my project i use QDateTime widget with popup calendar. And it looks like (both in QtDesigner and working app):

      As you can see white area is higher than arrow and it looks pretty ugly. This problem occurs when i set "calendarPopup" option on "true" (in QtDesigner).

      Same project under Ubuntu 13.10 looks like:

      It's OK.

      I've found that if i set style sheets on "border: 1px;" QDateTime became:

      but on SO i've got an answer that style sheets drops native platform styling of widget.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              dedietri Gabriel de Dietrich (drgvond)
              Reporter:
              serg.v.gusev Sergey Gusev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes