Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » viewpart with fixed height
viewpart with fixed height [message #449258] Thu, 11 May 2006 09:44 Go to next message
Eclipse UserFriend
Hi everybody,

I would like to force a viewpart to always have a fixed height.
Any ideas?

Specifically, I have a viewpart with a textbox, which should always have
the same height, but gets heigher if I reset the perspective after
enlarging the app window (since the layout is based on ratios, I guess).

Would be great, if that could be fixed, because right now this looks
quite ugly.

Thanx, Volker
Re: viewpart with fixed height [message #449396 is a reply to message #449258] Thu, 11 May 2006 17:59 Go to previous message
Eclipse UserFriend
I'm not aware of a way to restrict resizing of a view since page layouts
are based on views taking up a percentage of the available space.

Can your view ever be closed? If not, you might consider not making it
a view at all by customizing your window contents. See Chapter 18 of
McAffer and Lemieux's RCP book
( http://www.amazon.com/gp/product/0321334612/sr=8-1/qid=11473 84744/ref=pd_bbs_1/002-6191148-3481619?%5Fencoding=UTF8)


Volker wrote:
> Hi everybody,
>
> I would like to force a viewpart to always have a fixed height.
> Any ideas?
>
> Specifically, I have a viewpart with a textbox, which should always have
> the same height, but gets heigher if I reset the perspective after
> enlarging the app window (since the layout is based on ratios, I guess).
>
> Would be great, if that could be fixed, because right now this looks
> quite ugly.
>
> Thanx, Volker
Previous Topic:Help with advanced update API use
Next Topic:Internationalization problem
Goto Forum:
  


Current Time: Sat Aug 30 13:45:00 EDT 2025

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

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

Back to the top