diff options
author | Alessandro Portale <aportale@trolltech.com> | 2010-01-28 12:24:01 (GMT) |
---|---|---|
committer | Alessandro Portale <aportale@trolltech.com> | 2010-01-28 12:31:54 (GMT) |
commit | 7060118fe35b358ce6739734d03a285708127b60 (patch) | |
tree | 98004c06ea4044ef8a287912e1172fd6d2dfe167 /qmake | |
parent | 297e84fcfed524687455d3d94161bf2a32f62d37 (diff) | |
download | Qt-7060118fe35b358ce6739734d03a285708127b60.zip Qt-7060118fe35b358ce6739734d03a285708127b60.tar.gz Qt-7060118fe35b358ce6739734d03a285708127b60.tar.bz2 |
Shortening and fixing previous fix for QTBUG-6371
Shortening: Use much mor code from CommonStyle
Fixing: Subtract PM_Layout[Left|Right]Margin from desktop width.
This fix is anyways not relly useful. It heals some Ui designs with
sizeconstrains which do not fit into mobile screens. But it will fail
In following situations:
Widget, and a too-long combobox in a horizontal Layout. The combobox
would be cropped to Desktop width but the widget(s) left and/or right
of the Combobox are not considered. So, that the Ui still is too wide.
The correct fix will be for set the size policy of the combobox to
something less greedy.
Task-number: QTBUG-6371
Reviewed-by: Sami Merila
modified: gui/styles/qs60style.cpp
Diffstat (limited to 'qmake')
0 files changed, 0 insertions, 0 deletions