# Screen width from small panel

**URL:** <https://forums.fusetools.com/t/screen-width-from-small-panel/1609>\
**Category:** General\
**Created:** [March 1, 2016, 9:35pm UTC](https://forums.fusetools.com/t/screen-width-from-small-panel/1609 "2016-03-01T21:35:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fahad](https://avatars.discourse-cdn.com/v4/letter/f/ecccb3/32.png) [@Fahad](https://forums.fusetools.com/u/Fahad)\
**Post date:** [March 1, 2016, 9:35pm UTC](https://forums.fusetools.com/t/screen-width-from-small-panel/1609/1 "2016-03-01T21:35:11Z")

</div>

I have a circle inside a panel which is inside a panel which is inside a panel etc

I need to this circle to expand to 200% screen width, but obviously I can’t access that width from inside these panels, what do I do?

---

<div class="post-metadata">

**Author:** ![Jake\_Taylor](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/jake_taylor/32/512_2.png) [@Jake\_Taylor](https://forums.fusetools.com/u/Jake_Taylor)\
**Post date:** [March 1, 2016, 9:42pm UTC](https://forums.fusetools.com/t/screen-width-from-small-panel/1609/2 "2016-03-01T21:42:48Z")

</div>

Have you looked at [RelativeTo](https://www.fusetools.com/learn/fuse#keyword-relativeto)? It looks like that could be used to solve your problem. You can use it in combination with `Scale` etc to size your element relative to any other element, not just ancestors in the visual tree.

---

<div class="post-metadata">

**Author:** ![Fahad](https://avatars.discourse-cdn.com/v4/letter/f/ecccb3/32.png) [@Fahad](https://forums.fusetools.com/u/Fahad)\
**Post date:** [March 1, 2016, 9:56pm UTC](https://forums.fusetools.com/t/screen-width-from-small-panel/1609/3 "2016-03-01T21:56:11Z")

</div>

Cheers! Ended up using: `<Scale Target="ExpandingCircle" RelativeTo="SizeFactor" Factor="2" Duration="0.5" Easing="CubicOut" RelativeNode="MainPanel" />` Where `MainPanel` was the top-most panel for anyone else trying the same thing.

---

<div class="post-metadata">

**Author:** ![Jake\_Taylor](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/jake_taylor/32/512_2.png) [@Jake\_Taylor](https://forums.fusetools.com/u/Jake_Taylor)\
**Post date:** [March 1, 2016, 10:01pm UTC](https://forums.fusetools.com/t/screen-width-from-small-panel/1609/4 "2016-03-01T22:01:25Z")

</div>

Perfect 🙂

---

<div class="post-metadata">

**Author:** ![Jake\_Taylor](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/jake_taylor/32/512_2.png) [@Jake\_Taylor](https://forums.fusetools.com/u/Jake_Taylor)\
**Post date:** [March 2, 2016, 8:11pm UTC](https://forums.fusetools.com/t/screen-width-from-small-panel/1609/5 "2016-03-02T20:11:35Z")

</div>

Actually, are you sure that code is correct? On another look I think it should be:

```auto
<Scale RelativeNode="MainPanel" RelativeTo="SizeFactor" Factor="2" />

```

---

<div class="post-metadata">

**Author:** ![Fahad](https://avatars.discourse-cdn.com/v4/letter/f/ecccb3/32.png) [@Fahad](https://forums.fusetools.com/u/Fahad)\
**Post date:** [March 2, 2016, 9:39pm UTC](https://forums.fusetools.com/t/screen-width-from-small-panel/1609/6 "2016-03-02T21:39:14Z")

</div>

Edited 🙂

---

<div class="post-metadata">

**Author:** ![Jake\_Taylor](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/jake_taylor/32/512_2.png) [@Jake\_Taylor](https://forums.fusetools.com/u/Jake_Taylor)\
**Post date:** [March 2, 2016, 10:07pm UTC](https://forums.fusetools.com/t/screen-width-from-small-panel/1609/7 "2016-03-02T22:07:46Z")

</div>

Cool, thanks for the clarification 🙂
