Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Fixing SWT Shell width and having adjustable height(Shell width should be fixed and the height shall be adjustable with scrollbar)
Fixing SWT Shell width and having adjustable height [message #660644] Sun, 20 March 2011 11:29 Go to next message
Eclipse UserFriend
Hello,

Can any one let me know is there a way to fix the shell width and have the shell height adjustable.?

Fixing height and width of shell is possilbe but how to fix only width ?
Re: Fixing SWT Shell width and having adjustable height [message #660715 is a reply to message #660644] Mon, 21 March 2011 07:26 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

There is no API to fix only the width of the Shell. You can add a SWT.Resize listener to your shell and reset the width if/when it is modified.
Re: Fixing SWT Shell width and having adjustable height [message #661339 is a reply to message #660715] Thu, 24 March 2011 06:20 Go to previous message
Eclipse UserFriend
hello Shanmugam,

Thanks for the update. It worked out by adding listener.

regards,

Kiran
Previous Topic:Control getSize() behaves different in Linux and Windows
Next Topic:Re: SSWT - how to change tooltip font for a toolbar object
Goto Forum:
  


Current Time: Fri Jul 04 15:02:23 EDT 2025

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

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

Back to the top