# How could you get the current widht of a component?

**URL:** <https://forum.inductiveautomation.com/t/how-could-you-get-the-current-widht-of-a-component/102686>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [February 21, 2025, 11:49am UTC](https://forum.inductiveautomation.com/t/how-could-you-get-the-current-widht-of-a-component/102686 "2025-02-21T11:49:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [February 21, 2025, 11:49am UTC](https://forum.inductiveautomation.com/t/how-could-you-get-the-current-widht-of-a-component/102686/1 "2025-02-21T11:49:24Z")

</div>

The basis is set to `auto`.

How could I get the widht in pixels?

Thanks in advance!
