[Qt-interest] Resizable child widgets

André Somers andre at familiesomers.nl
Fri Oct 9 07:09:47 CEST 2009


Please show us the code, so we can see where you go wrong. Impossible to
judge just based on your description.
The whole idea of layouts is that they work as you describe, so you must be
missing a step somewhere...

André


-----Oorspronkelijk bericht-----
Van: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] Namens Nitin Mahajan
Verzonden: vrijdag 9 oktober 2009 6:30
Aan: qt-interest at trolltech.com
Onderwerp: [Qt-interest] Resizable child widgets

Hello,

I created a small example project through Qt creator. 

In this form I added a Horizontal layout to a Widget and then added a
QSlider to the layout. When I execute this and stretch the main widget
horizontally, I do not see the slider getting resized.

I want to get the slider also stretched along with the main widget
horizontally, the same way Phonon::seekSlider gets stretched in Mediaplyer
example. Can some one give me some pointer to this?

regards

-Nitin



      Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com. 
http://mail.promotions.yahoo.com/newdomains/aa/

_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest





More information about the Qt-interest-old mailing list