Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » e4: Programmatically resizing a sash container
e4: Programmatically resizing a sash container [message #640105] Fri, 19 November 2010 06:41 Go to next message
AppleJus Mising name is currently offline AppleJus Mising nameFriend
Messages: 46
Registered: July 2010
Member
Hi there,

I would like to know if there is a way to resize the sash programmatically (for example, hitting a button will make the partition 25% 75% for the vertical sash container I have)

Thanks!
Re: e4: Programmatically resizing a sash container [message #640300 is a reply to message #640105] Sat, 20 November 2010 08:06 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5487
Registered: July 2009
Senior Member
Those informations are stored in the MPart#setContainerData(). You need
to set 25 on the first and 75 on the second.

Tom

Am 19.11.10 07:41, schrieb AppleJus:
> Hi there,
>
> I would like to know if there is a way to resize the sash
> programmatically (for example, hitting a button will make the partition
> 25% 75% for the vertical sash container I have)
>
> Thanks!
Previous Topic:show up dynamic (part) menu
Next Topic:Default Cursor Behavior
Goto Forum:
  


Current Time: Sun Dec 21 06:18:42 GMT 2014

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

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