Getting jface ApplicationWindow menu and status bar height [message #291045] |
Tue, 06 September 2005 17:50 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03402 seconds