Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Getting jface ApplicationWindow menu and status bar height
Getting jface ApplicationWindow menu and status bar height [message #291045] Tue, 06 September 2005 17:50
Eclipse UserFriend
Originally posted by: freshtasty.hotmail.com

Hello,
This topic has probably bin assess but after searching the archives, I
can't really say that I've found a solution to my problem using the jface
ApplicationWindow. It goes like this:

My ApplicationWindow has a stacklayout. Actions in the menu add different
sized Composites to the stack. After each addition, I compute the size of
the ApplicationWindow in regards to the size of the newly added Composite.
This way, the stack isn't the size of the biggest Composite but the size of
the visible Composite.

Anywich way I try to compute the new ApplicationWindow size, it never seams
to take into account the height of the ApplicationWindow's menu and status
bar. I incidentally end up with a truncated Composite showing. How can I
get the height of the menu and status bar so that I can add these numbers to
my computeSize?

I would sincerely appreciate any advices.



Sebastien
Previous Topic:How to get an IEditableModel for a plugin in the workspace?
Next Topic:Basic text formatting not working in Intro Page
Goto Forum:
  


Current Time: Thu Apr 25 14:24:58 GMT 2024

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

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

Back to the top