PDA

View Full Version : lineheight in QwwFileChooser (wwidgets)



pospiech
24th May 2009, 18:11
If I compare the sizehint height of the normal QLineEdit with the one in QwwFileChooser, the QwwFileChooser is several pixel smaller in height, about the mininum of the font.

This looks wrong and unusal.

Is this a win32 specific behaviour or by design ?

wysota
24th May 2009, 19:39
No, this is a bug (probably somewhere in Qt or revealed by a recent fix to Qt). It's caused by applying padding through a stylesheet. You can "undo" the behaviour by applying a stylesheet containing a "min-height: XXpx;" directive with XX being the proper size.