Open asharma-ml opened 4 years ago
Wrapping the custom component in a View does adhere to the default alignment and paddings:
<MSC.View
localPosition= {[0, 0, 0]}
localRotation= {[0, 0, 0, 1]}
localScale= {[1, 1, 1]}
>
{/* CUSTOM COMPONENT: */}
<Comp/>
{/* CUSTOM COMPONENT: */}
</MSC.View>
MXSCOMP-202
When adding a custom component to a Layout, the component ignores the default item alignment and padding. Other items added to the Layout are correctly rendered with the defaults.
GridTest.zip