Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » how to prevent statusbar resize
how to prevent statusbar resize [message #328124] Wed, 14 May 2008 11:51
Eclipse UserFriend
Originally posted by: jamesk.google.com

Hi,

I have a composite with several buttons and labels. This composite is
added to statusbar as a contribution item. In the fill method, I did the
following:

public void fill( Composite parent )
{
super.fill( parent );

MyComposite composite = new MyComposite( parent,
SWT.NO_REDRAW_RESIZE );

......
}

When user resizes main window, I want to prevent the resizing of the above
composite. The problem is: every time main window is expanded, the sizes
of child widgets remain the same while the height of the composite is
increased significantly. I guess this is making the height of status bar
bigger, thus making it look ugly.

I am wondering how I can prevent this composite contribution from resizing?

regards,
Previous Topic:Import team project set outside the workspace
Next Topic:Project name not used on importing existing project
Goto Forum:
  


Current Time: Wed Mar 12 00:41:14 EDT 2025

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

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

Back to the top