GridBagConstraints set too late? [message #31141] |
Fri, 16 April 2004 16:09  |
Eclipse User |
|
|
|
Originally posted by: eifertSPAMISFILTERED.web.de
Hi,
I have a problem using GridBagLayout. When I change a constraint in the
bean properties, sometimes the code for this change is inserted *after*
the component is added to a container, e.g.
[...]
jPanel2.add(getImagePreview(), consGridBagConstraints64);
consGridBagConstraints64.weightx = 1.0D;
[...]
Of course this has no effect, because GridBagLayout stores clones of the
constraints. I am using VE Integration build I20040415. Does anyone else
have this problem?
Regards,
Sebastian
|
|
|
Re: GridBagConstraints set too late? [message #31211 is a reply to message #31141] |
Fri, 16 April 2004 19:28  |
Eclipse User |
|
|
|
Hi Sebastian,
> I have a problem using GridBagLayout. When I change a constraint in the
> bean properties, sometimes the code for this change is inserted *after*
> the component is added to a container, e.g.
Is there a repeatable test case for which this occurs ? If so can you
please create a bugzilla with as much detail as possible so we can
re-create it and try to provide a fix.
Best regards,
Joe Winchester
|
|
|
Re: GridBagConstraints set too late? [message #586467 is a reply to message #31141] |
Fri, 16 April 2004 19:28  |
Eclipse User |
|
|
|
Hi Sebastian,
> I have a problem using GridBagLayout. When I change a constraint in the
> bean properties, sometimes the code for this change is inserted *after*
> the component is added to a container, e.g.
Is there a repeatable test case for which this occurs ? If so can you
please create a bugzilla with as much detail as possible so we can
re-create it and try to provide a fix.
Best regards,
Joe Winchester
|
|
|
Powered by
FUDForum. Page generated in 0.24128 seconds