# Width proportional to the Height

**URL:** <https://forums.fusetools.com/t/width-proportional-to-the-height/1757>\
**Category:** How-to Discussions\
**Created:** [March 1, 2016, 12:33pm UTC](https://forums.fusetools.com/t/width-proportional-to-the-height/1757 "2016-03-01T12:33:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cristian\_Karmy1](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/cristian_karmy1/32/480_2.png) [@Cristian\_Karmy1](https://forums.fusetools.com/u/Cristian_Karmy1)\
**Post date:** [March 1, 2016, 12:33pm UTC](https://forums.fusetools.com/t/width-proportional-to-the-height/1757/1 "2016-03-01T12:33:56Z")

</div>

It is possible to create a element (Panel, image, etc) with a exact proportion? Like a Panel that his Width is proportional to the Height in 3:1, by example a Panel that his Widht is 90% his Height will be 30% (of the Widht size not the parent Height)

Thanks!

---

<div class="post-metadata">

**Author:** ![edA-qa\_mort-ora-y](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/eda-qa_mort-ora-y/32/124_2.png) [@edA-qa\_mort-ora-y](https://forums.fusetools.com/u/edA-qa_mort-ora-y)\
**Post date:** [March 1, 2016, 12:44pm UTC](https://forums.fusetools.com/t/width-proportional-to-the-height/1757/2 "2016-03-01T12:44:11Z")

</div>

You can use the `BoxSizing="FillAspect"` mode. For example:

`<Panel Width="90%" Aspect="3" BoxSizing="FillAspsect">`

This creates a panel that is 90% the width of its parent and has a 3:1 ratio (aspect is simple `X/Y`).

The `ASpect` will be used to fill in the missing dimension, so in the above it will use the `Width` to determine the `Height`. If you specify `Height` then the width will be calculated. If you specify both it’ll be the largest size that fits within both.

---

<div class="post-metadata">

**Author:** ![Cristian\_Karmy1](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/cristian_karmy1/32/480_2.png) [@Cristian\_Karmy1](https://forums.fusetools.com/u/Cristian_Karmy1)\
**Post date:** [March 1, 2016, 12:55pm UTC](https://forums.fusetools.com/t/width-proportional-to-the-height/1757/3 "2016-03-01T12:55:46Z")

</div>

Work Perfect! Thanks!
