Get column width

Hi!

I have a 3-columns ScrollView layout. How can I get the actual rendered column width? Through fuse markup or javascript? Also, is there a way in fuse to set relative heights on items, e.g. specify only height as an aspect of actual width.

Thanks!

Hi!

You can use the different layout primitives in fuse to make relative layouts. For example <Grid /> or <DockPanel />.

<Grid Columns="1*,3*">
    <Image />
    <Image />
</Grid>

In the code above the second image will always be 3x the sice of the first image.

You can use BoxSizing to configure the layout to constrain by aspect