Default layout manager for VE 1.2 RC version [message #127737] |
Wed, 05 July 2006 22:24  |
Eclipse User |
|
|
|
Originally posted by: javacard.hotmail.com
After creating a new composite,I find the default layout manager is set with GridLayout,which is the most powerful layout and my favor.But if I put THREE new button controls into this composite,I find it's impossible to decrease the number of columns,which is set as THREE automatically.
If I switch the layout to others like 'null' or 'FormLayout',then change it back to 'GridLayout'.Now the adjustment for number of columns works fine as the previous version.
Looking forward to any comments.
XS
|
|
|
|
|
|
|
Re: Default layout manager for VE 1.2 RC version [message #613463 is a reply to message #127737] |
Wed, 05 July 2006 22:58  |
Eclipse User |
|
|
|
The GridLayout layout behavior was much improved in VE 1.2 over the
previous releases. One side effect of these improvements is that the
tooling will attempt to maintain the layout you created visually,
preventing you from inadvertently decreasing the number of columns which
could wreck your layout. Following your scenario of dropping three
buttons into three columns, there's two ways to change it to a two
column layout.
1) Click and drag the third button and place it into a new row beneath
the first button (preferred).
2) Go to the source and change the GridLayout's numColumns field to 2.
Hope this helps,
- Jeff
|
|
|
Re: Default layout manager for VE 1.2 RC version [message #613466 is a reply to message #127763] |
Thu, 06 July 2006 00:10  |
Eclipse User |
|
|
|
Originally posted by: javacard.hotmail.com
So the VE's new policy for GridLayout will protect inadvertent adjustment with my layout.The first way is good for a better user experience.But if the second way is applicable,why not let 'Customize Layout' dialog decrease the column number?Isn't it more visual than editing the source?I don't think editing the source is a better way to avoid wrecking layout than disabling 'Customize layout' dialog.
XS
|
|
|
Re: Default layout manager for VE 1.2 RC version [message #613469 is a reply to message #127800] |
Thu, 06 July 2006 10:20  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
The reason we didn't put decreasing the number of columns on the
Customize layout page is because it is impossible to determine the
correct things to do so that the results would still make sense. If we
simply just decreased the number of columns then everything would reflow
to completely unexpected positions. We would be yelled at for that. If
we tried to maintain the relative positioning of everything, what would
we do with the controls that are in the last column, just delete them?
If not delete them, then where to put them. Because of this it was
decided that it would be better to simply allow the user to put the
controls where they want them. Then the columns can be taken care of
automatically.
song.xu wrote:
> So the VE's new policy for GridLayout will protect inadvertent adjustment with my layout.The first way is good for a better user experience.But if the second way is applicable,why not let 'Customize Layout' dialog decrease the column number?Isn't it more visual than editing the source?I don't think editing the source is a better way to avoid wrecking layout than disabling 'Customize layout' dialog.
>
> XS
--
Thanks,
Rich Kulp
|
|
|
|
Powered by
FUDForum. Page generated in 0.07054 seconds