View Full Version : gap between FieldContainer items with anchor or vbox layout

15 May 2012, 8:38 AM
I'm using a FieldContainer with an anchor layout. I don't want any space (gap) between the child items, but there is a default spacing between components. How do I remove that gap?

I have also tried the vbox layout with no success.

15 May 2012, 11:45 AM
Approved thread.

16 May 2012, 3:31 AM
I found that setting the marginBottom to zero on items added to the FieldContainer works to remove the gap for anchor layout. I still haven't found a solution for vbox layout.

style: {
marginBottom: '0px'