Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:29 Go to next message
kiran reddy is currently offline kiran reddyFriend
Messages: 8
Registered: July 2009
Junior Member
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 11:26 Go to previous messageGo to next message
Lakshmi P ShanmugamFriend
Messages: 279
Registered: July 2009
Location: India
Senior Member
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.


Lakshmi P Shanmugam
Re: Fixing SWT Shell width and having adjustable height [message #661339 is a reply to message #660715] Thu, 24 March 2011 10:20 Go to previous message
kiran reddy is currently offline kiran reddyFriend
Messages: 8
Registered: July 2009
Junior Member
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: Thu Apr 25 08:58:00 GMT 2024

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

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

Back to the top