Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Default layout manager for VE 1.2 RC version
Default layout manager for VE 1.2 RC version [message #127737] Wed, 05 July 2006 22:24 Go to next message
Eclipse UserFriend
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 #127763 is a reply to message #127737] Wed, 05 July 2006 22:58 Go to previous messageGo to next message
Eclipse UserFriend
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 #127800 is a reply to message #127763] Thu, 06 July 2006 00:10 Go to previous messageGo to next message
Eclipse UserFriend
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 #127840 is a reply to message #127800] Thu, 06 July 2006 10:20 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Default layout manager for VE 1.2 RC version [message #127876 is a reply to message #127840] Thu, 06 July 2006 21:26 Go to previous message
Eclipse UserFriend
Originally posted by: javacard.hotmail.com

OK then,I see the complication.

Thank you very much.

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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Re: Default layout manager for VE 1.2 RC version [message #613472 is a reply to message #127840] Thu, 06 July 2006 21:26 Go to previous message
Eclipse UserFriend
Originally posted by: javacard.hotmail.com

OK then,I see the complication.

Thank you very much.

XS
Previous Topic:Visual editor and delphi
Next Topic:why not display a combox selector in property sheet?
Goto Forum:
  


Current Time: Wed Jun 18 02:50:15 EDT 2025

Powered by FUDForum. Page generated in 0.07054 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top