[Qt-interest] Widget Resize
Manoj
manoj.agrawal at maxim-ic.com
Mon May 17 14:41:57 CEST 2010
Hi,
I have a widget with lot of widgets placed on it and arranged in a
layout. I want to show this widget on a specific area of screen, say
centre. Henceforth, I calculate x,y,width and height for this and call
widget->setGeometry(x,y,width,height) before calling widget->show(). It
sets x and y position correctly but always stretches it's width and
height to full available screen size. It seems lot of widgets on main
widget makes it doing it so. Is there no way, I can force it to show
with specific width and height?
Regards,
Manoj
More information about the Qt-interest-old
mailing list