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

Missing top border of a QtGui.QDateEdit when setCalendarPopup(True) on Mac (OS X 10.9)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.3.0 Beta1
    • 4.8.5, 5.2.0
    • GUI: Look'n'Feel
    • None
    • Reproduces in Python and C++ under both Qt 5.2.0 and Qt 4.8.5 on Mac (OS X 10.9)
    • macOS
    • 2a6c50aa26da831253bef6c623073a80e672d457

      Missing top border of a QtGui.QDateEdit when setCalendarPopup(True) on a Mac (OS X 10.9)


      date_input = QtGui.QDateEdit()
      date_input.setDate(QtCore.QDate.currentDate())
      date_input.setCalendarPopup(True)
      date_input.setDisplayFormat("MM/dd/yyyy")
      


      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QWidget w;
          QHBoxLayout * layout = new QHBoxLayout(&w);
          QDateEdit edit;
          edit.setDate(QDate::currentDate());
          edit.setCalendarPopup(true);
          edit.setDisplayFormat("MM/dd/yyyy");
          layout->addWidget(&edit);
          w.show();
          return a.exec();
      }
      

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

            bachewii Jens
            bradcochran Brad Cochran
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes