Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QDateTimeEdit: use correct size hint when calendarPopup is enabled
When calendarPopup is enabled, a QComboBox instead a QSpinBox is drawn but the size hint for QSpinBox was used which resulted in a too small width for the widget (depending on the underlying style). Therefore use the size hint for CT_ComboBox in this case as it was already done for mac. Fixes: QTBUG-11967 Change-Id: I817bdc99ae5d1189b9f0451a857022abe64b3bf8 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 0a1c171) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
- Loading branch information