SashForm's setWeights() doesn't effect the display in design window [message #117411] |
Sun, 12 February 2006 21:35  |
Eclipse User |
|
|
|
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 #612095 is a reply to message #117411] |
Mon, 13 February 2006 11:54  |
Eclipse User |
|
|
|
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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04068 seconds