Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Is a fixed height view possible?(I want the other views to take up the available space)
Is a fixed height view possible? [message #683617] Tue, 14 June 2011 05:23 Go to next message
SBS  is currently offline SBS Friend
Messages: 57
Registered: January 2011
Is it possible to have a view with a fixed height? I have a search field that lives in its own view and it looks silly to be able to resize the height of this view as it only contains the one field. Ideally I'd like to fix the height and then other surrounding views would automatically fill up the available space.


Re: Is a fixed height view possible? [message #685396 is a reply to message #683617] Fri, 17 June 2011 12:47 Go to previous messageGo to next message
Artur Kronenberg is currently offline Artur KronenbergFriend
Messages: 159
Registered: August 2009
Senior Member

I have not heard of a fixed size eclipse view. Additionally this does not really make sense for eclipse.

I'd look into the contributions for the status line.

You might be able to put your search field in there. That way you can decide how to re-size your search field.

The more eclipse conform way to do this search of yours would be to contribute to the search menu of eclipse (CTRL + H).

Kind regards,

-- artur

p.s. you might wanna have this message moved to RCP/Plug-In development news group
Re: Is a fixed height view possible? [message #706788 is a reply to message #685396] Sun, 31 July 2011 22:08 Go to previous message
Johan Schulz is currently offline Johan SchulzFriend
Messages: 20
Registered: November 2010
Junior Member
Their is a solution. Just let your ViewPart implement ISizeProvider then you can set the size like in SWT.MeasureItem listeners.

Previous Topic:Check Data Binding Values
Next Topic:Problem with showing ProgressMonitorDialog from another modal dialog
Goto Forum:

Current Time: Tue Jun 19 22:29:19 GMT 2018

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

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

Back to the top