Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SashForm setting a fixed size on children
SashForm setting a fixed size on children [message #457365] Fri, 24 June 2005 11:04 Go to next message
Eclipse UserFriend
Originally posted by: jantb.ifi.uio.no

How do I set the left child of a sashForm to a fixed size so that when I
resize the application window it doesn't change its size?
Re: SashForm setting a fixed size on children [message #457367 is a reply to message #457365] Fri, 24 June 2005 12:56 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
This is not currently supported by SashForm.

You could use a FormLayout to achieve the desired affect.

See:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet107.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup


"Jan Tore" <jantb@ifi.uio.no> wrote in message
news:71d559b9a65ba88cabe47e91413ac728$1@www.eclipse.org...
> How do I set the left child of a sashForm to a fixed size so that when I
> resize the application window it doesn't change its size?
>
Re: SashForm setting a fixed size on children [message #457417 is a reply to message #457367] Fri, 24 June 2005 15:13 Go to previous message
Eclipse UserFriend
Originally posted by: jantb.ifi.uio.no

Thanks, I got it to work now
Previous Topic:both swt.graphics.Cursor constructors broken -- any workarounds available?
Next Topic:Cannot add selection listener to Scrollbar on Mac os x!
Goto Forum:
  


Current Time: Fri Apr 19 23:48:23 GMT 2024

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

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

Back to the top