Hi Bernd,

as far as I'm concerned this change fixes my original layout problems.

I'm still not sure if the root of the problem is somewhere else. Why do you get the comments as children, anyway? And I'm not sure if the transient property is the correct one to decide if the child component should be ignored.

I haven't filed a bug so far, shall I do this and attach the fix to it?

Regards,

Stefan.

Stefan Hedtfeld schrieb:
Hi Bernd,

I guess I found a problem in LayoutUtil (not sure if the root of the problem is another one). When adding the children the lines containing comments are considered components. If you skip these (using child.isTransient()) the layout seems to be correct (I will have to test with a more complex example).

See the attached diff for LayoutUtil.

Regards,

Stefan.


Reply via email to