PDA

View Full Version : Form Size on WinCE



manojmka
6th March 2008, 05:44
Hi,

How can we resize a Qt form (designed in QT Designer) to fit on Windows Mobile Screen? I need to show a dialog in not maximized state and movable but it should fit in the screen. I tried to make widgets small but I am unable to make pueshbuttons and graphicsView smaller than a fixed size. How can I achieve this?

Regards,
Manoj

momesana
6th March 2008, 05:57
Maybe setting the sizehints will help you.
http://doc.trolltech.com/4.3/qsizepolicy.html

manojmka
6th March 2008, 07:04
Hi Thanks

QSizePolicy::Ignored worked for me.