viewpart with fixed height [message #449258] |
Thu, 11 May 2006 09:44  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.27514 seconds