PDA

View Full Version : [solved]The elements schouls scale if the User scales down the window



Qiieha
19th April 2011, 12:43
Hi
I have a problem. For example:
there are three buttons and three lineEdits in a GridLayout. If I start the program and the user scales down the window, the elements in the GridLayout should shrink dynamically.

It doesn't work. Does anybody know why?? Or what is to do?

thanks

Zlatomir
19th April 2011, 12:53
My first guess:
Have you used the Designer to create the form? If the answer is yes then make sure you applied the qgridlayout to the form itself (selected the "background" form and then click on the layout button).

//some other reasons might be that the widgets decreased to their minimum size, tell us more about what is actually happening and what do you want to happen, maybe attach a print-screen (or ui file) so that we can see what might be the cause of that behavior.

Qiieha
19th April 2011, 13:05
My first guess:
selected the "background" form and then click on the layout button


this was the solution :)
thank Zlatomir