Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Sash Form allignment
Sash Form allignment [message #455254] Wed, 11 May 2005 05:02 Go to next message
Eclipse UserFriend
Originally posted by: sajil.koroth.siebel.com

Hi,

I am trying to put two composite in a sashform. I use FormLayout for
both the composite and the shell(in which I put the Sashform. But when I
run the program, I see the composites are aligned with FillLayout. I
want the top composite to take 20% of the shell area and bottom with
80%. How can I do it?

Sajil Koroth.
Re: Sash Form allignment [message #455257 is a reply to message #455254] Wed, 11 May 2005 06:25 Go to previous message
Eclipse UserFriend
Originally posted by: akan.aiqa.com

Sajil wrote:
> Hi,
>
> I am trying to put two composite in a sashform. I use FormLayout for
> both the composite and the shell(in which I put the Sashform. But when I
> run the program, I see the composites are aligned with FillLayout. I
> want the top composite to take 20% of the shell area and bottom with
> 80%. How can I do it?
>
> Sajil Koroth.

Have you checked sash code snippet ?
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

I have tried it before and it was working as it supposed to be.

aiQa
Previous Topic:SWT in a JPanel?
Next Topic:SWT_AWT bridge problems
Goto Forum:
  


Current Time: Sat Apr 27 00:44:29 GMT 2024

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

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

Back to the top