Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » SashForm's setWeights() doesn't effect the display in design window
SashForm's setWeights() doesn't effect the display in design window [message #117411] Mon, 13 February 2006 02:35 Go to next message
Eclipse UserFriend
Originally posted by: javacard.hotmail.com

After adding two composites in a SashForm,I invoked the setWeights() method.
_______________
sashForm = new SashForm(sShell, SWT.NONE);
createComposite();
sashForm.setLayoutData(gridData);
createComposite1();

sashForm.setWeights(new int[]{1,2});
_______________

If I run the program,the sashform is resized as it's specified.But the sashform displays two equal composites in the VE design window.

kind of bug or just my wrong use?

XS
Re: SashForm's setWeights() doesn't effect the display in design window [message #117550 is a reply to message #117411] Mon, 13 February 2006 16:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Whta version of VE are you using? The 1.1.0.1 version may not recognize
the setWeights with an array correctly.

song.xu wrote:
> After adding two composites in a SashForm,I invoked the setWeights() method.
> _______________
> sashForm = new SashForm(sShell, SWT.NONE);
> createComposite();
> sashForm.setLayoutData(gridData);
> createComposite1();
>
> sashForm.setWeights(new int[]{1,2});
> _______________
>
> If I run the program,the sashform is resized as it's specified.But the sashform displays two equal composites in the VE design window.
>
> kind of bug or just my wrong use?
>
> XS

--
Thanks,
Rich Kulp
Re: SashForm's setWeights() doesn't effect the display in design window [message #117797 is a reply to message #117550] Tue, 14 February 2006 01:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: javacard.hotmail.com

Thank you for the comment,Rich.

XS
Re: SashForm's setWeights() doesn't effect the display in design window [message #127392 is a reply to message #117550] Sat, 01 July 2006 04:21 Go to previous message
Eclipse UserFriend
Originally posted by: javacard.hotmail.com

But even in the latest Eclipse SDK 3.2 with VE 1.2,setWeights is still not recognized.

XS
Re: SashForm's setWeights() doesn't effect the display in design window [message #612095 is a reply to message #117411] Mon, 13 February 2006 16:54 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Whta version of VE are you using? The 1.1.0.1 version may not recognize
the setWeights with an array correctly.

song.xu wrote:
> After adding two composites in a SashForm,I invoked the setWeights() method.
> _______________
> sashForm = new SashForm(sShell, SWT.NONE);
> createComposite();
> sashForm.setLayoutData(gridData);
> createComposite1();
>
> sashForm.setWeights(new int[]{1,2});
> _______________
>
> If I run the program,the sashform is resized as it's specified.But the sashform displays two equal composites in the VE design window.
>
> kind of bug or just my wrong use?
>
> XS

--
Thanks,
Rich Kulp
Re: SashForm's setWeights() doesn't effect the display in design window [message #612101 is a reply to message #117550] Tue, 14 February 2006 01:41 Go to previous message
Eclipse UserFriend
Originally posted by: javacard.hotmail.com

Thank you for the comment,Rich.

XS
Re: SashForm's setWeights() doesn't effect the display in design window [message #613434 is a reply to message #117550] Sat, 01 July 2006 04:21 Go to previous message
Eclipse UserFriend
Originally posted by: javacard.hotmail.com

But even in the latest Eclipse SDK 3.2 with VE 1.2,setWeights is still not recognized.

XS
Previous Topic:Why Callisto contains VE RC version?
Next Topic:Visual Editor 1.2 and Eclipse 3.2 final layout problems
Goto Forum:
  


Current Time: Fri Apr 26 04:06:43 GMT 2024

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

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

Back to the top