Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Getting jface ApplicationWindow menu and status bar height
Getting jface ApplicationWindow menu and status bar height [message #291032] Tue, 06 September 2005 11:28
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 prevent eclipse from stopping when an exception occurs
Next Topic:Eclipse supported platforms
Goto Forum:
  


Current Time: Fri Jul 18 00:02:30 EDT 2025

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

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

Back to the top