# Gauge in Flex Containers

**URL:** <https://forum.inductiveautomation.com/t/gauge-in-flex-containers/79721>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [September 27, 2023, 3:26pm UTC](https://forum.inductiveautomation.com/t/gauge-in-flex-containers/79721 "2023-09-27T15:26:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Bermejo](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@Sam\_Bermejo](https://forum.inductiveautomation.com/u/Sam_Bermejo)\
**Post date:** [September 27, 2023, 3:26pm UTC](https://forum.inductiveautomation.com/t/gauge-in-flex-containers/79721/1 "2023-09-27T15:26:52Z")

</div>

Hi all,

I don't understand why when I place a gauge component in a flex container, a scroll bar appears on the right side. I have been trying to get rid of it, but don't seem to know how! Any tips?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/4/3424dc7e7ce9ec7c6bfe90c6457bad58fed4e535.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/9/096013ef570ce35843e38aa95e41a78abc03af23.png)

Thanks

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [September 27, 2023, 3:31pm UTC](https://forum.inductiveautomation.com/t/gauge-in-flex-containers/79721/2 "2023-09-27T15:31:05Z")

</div>

I'm not seeing this with default container/gauge settings.

Can you share the view's json ?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [September 27, 2023, 3:58pm UTC](https://forum.inductiveautomation.com/t/gauge-in-flex-containers/79721/3 "2023-09-27T15:58:48Z")

</div>

I think you need to add a property to the flex container - something like,  
`style.overflow : hidden`  
I can't find a reference.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [September 27, 2023, 4:44pm UTC](https://forum.inductiveautomation.com/t/gauge-in-flex-containers/79721/4 "2023-09-27T16:44:23Z")

</div>

This should hide the scroll bars, but it’s a bit like hiding the symptom instead of curing the illness.  
Maybe it’s good enough for OP though.
