Saturday, August 30th 2008, 11:19am UTC+1

You are not logged in.

  • Login
  • Register

1

Thursday, March 6th 2008, 9:40am

Using Spacers And Layouts

can anyone just help me ....by giving an example to clear the concept of where we need to put spacers n
what all we should include in the layouts..
i have tried many combinations of putting the spacers and layout
but the buttons don't occupy the extra space when i expand it ..
Please can anyone help me to clear this concept.
  • Go to the top of the page

seguprasad

Trainee

Posts: 103

Location: INDIA

Occupation: Developer

2

Thursday, March 6th 2008, 11:26am

Generally we need to put the controls in Vertical or horizontal or grid layout depending upon the requirement.

Then the resizing effect will be shown on the controls.
If you place spacer between controls, Controls may get resized and only the space between the controls will be changed.

So you should not put any spacer, if you want resize the controls.

Try this.

This is what I observed with dialogs developed by me. But some times layouts will act differently.

Thanks,
-Segu,
  • Go to the top of the page

3

Thursday, March 6th 2008, 11:54am

thanks for the help

thanks for the help

i tried your way and also many others.
at last i think, the buttons are resized if we include all of them in a layout
then click on the form and press layout in a grid.

this might also help others.

Regards
Anubhav Tuli
  • Go to the top of the page

4

Friday, March 7th 2008, 12:37am

RE: thanks for the help

You are right. In other case your basic layout is not resized, so the buttons are not resized too. In this case you can resize them only if you resize their layout programatically.
  • Go to the top of the page

Rate this thread