Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to lock the size of a view?
How to lock the size of a view? [message #453478] Mon, 31 July 2006 11:15 Go to next message
Eclipse UserFriend
Hi,

I would like to know if there is a way to lock the size of the view or if
it is possible to set a view part not resizable.

Regards,
Xavier
Re: How to lock the size of a view? [message #453480 is a reply to message #453478] Mon, 31 July 2006 11:23 Go to previous messageGo to next message
Eclipse UserFriend
Xavier wrote:
> Hi,
>
> I would like to know if there is a way to lock the size of the view or
> if it is possible to set a view part not resizable.

It's not possible ... the perspective controls the layout, and it tells
the view how much real-estate it has to draw itself.

It's up to the view to do the right thing ... i.e. add scroll bars if it
needs more room to display.

Later,
PW
Re: How to lock the size of a view? [message #453499 is a reply to message #453480] Tue, 01 August 2006 04:57 Go to previous message
Eclipse UserFriend
Thanks for your answer,

But is it possible to handle the resize event on a view and set it to a
minimal size? (ie onResize(){ view.setMinimalSize(x,y)})

Regards,
Xavier
Previous Topic:Context Sensitive Help Error
Next Topic:Any listener notified when perspective is changed?
Goto Forum:
  


Current Time: Sun Aug 31 02:36:11 EDT 2025

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

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

Back to the top