Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:15 Go to next message
Javier Rodriguez is currently offline Javier RodriguezFriend
Messages: 41
Registered: July 2009
Member
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 15:23 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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 08:57 Go to previous message
Javier Rodriguez is currently offline Javier RodriguezFriend
Messages: 41
Registered: July 2009
Member
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: Wed Nov 13 04:47:14 GMT 2024

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

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

Back to the top