diff options
author | Sami Merila <sami.merila@nokia.com> | 2010-12-10 09:12:23 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2010-12-10 09:12:23 (GMT) |
commit | 9d8dac4e4509795b6af8a5885f6e9f1a3ccbaa06 (patch) | |
tree | 79290cd05031a08212f4aba632135d93f59fad6e /doc/src/snippets/code/src_gui_widgets_qplaintextedit.cpp | |
parent | 5d0de8d013c84b9a75646e48038424e23e588ef5 (diff) | |
download | Qt-9d8dac4e4509795b6af8a5885f6e9f1a3ccbaa06.zip Qt-9d8dac4e4509795b6af8a5885f6e9f1a3ccbaa06.tar.gz Qt-9d8dac4e4509795b6af8a5885f6e9f1a3ccbaa06.tar.bz2 |
QDateTimeEdit is not showing correctly when resizes in symbian
The problem boils down to using large square area for QDateTime widget
(which is more or less a date-aware combobox). Style tries to make the
combobox button as wide as it is tall, and as button is as tall as
the combobox frame, it steals the whole square widget for itself.
To fix this, we now limit the combobox button height to be no more
than fourth of the total width of the widget.
Thus, in normal, non-resized case, button is, as tall as the frame,
but as widget is made larger, button stops to grow after reaching
quarter of width of the widget.
Task-number: QT-4312
Reviewed-by: Janne Koskinen
Diffstat (limited to 'doc/src/snippets/code/src_gui_widgets_qplaintextedit.cpp')
0 files changed, 0 insertions, 0 deletions