# Dropdown size to fit all the text

**URL:** <https://forum.inductiveautomation.com/t/dropdown-size-to-fit-all-the-text/91822>\
**Category:** Ignition\
**Created:** [June 13, 2024, 1:31pm UTC](https://forum.inductiveautomation.com/t/dropdown-size-to-fit-all-the-text/91822 "2024-06-13T13:31:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_Chauveliere](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@Martin\_Chauveliere](https://forum.inductiveautomation.com/u/Martin_Chauveliere)\
**Post date:** [June 13, 2024, 1:31pm UTC](https://forum.inductiveautomation.com/t/dropdown-size-to-fit-all-the-text/91822/1 "2024-06-13T13:31:05Z")

</div>

Hi everyone

I think its not that hard but I cant figure out how to make fit all the text in the dropdown without having to scrolling horizontaly.

![Capture](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/9/49d74eee679cb4f3569eb4ca906f7c641fd13ab1.png)

Thx guys

---

<div class="post-metadata">

**Author:** ![Noah\_Casey](https://avatars.discourse-cdn.com/v4/letter/n/e480ec/32.png) [@Noah\_Casey](https://forum.inductiveautomation.com/u/Noah_Casey)\
**Post date:** [June 13, 2024, 1:49pm UTC](https://forum.inductiveautomation.com/t/dropdown-size-to-fit-all-the-text/91822/2 "2024-06-13T13:49:42Z")

</div>

Inside of dropdownOptionStyle add:

```python
{
  "classes": "",
  "whiteSpace": "normal"
}

```

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/a/ea55d4c8d70ef9a01167ed8566c8b5e1c94828dc.png)

---

<div class="post-metadata">

**Author:** ![Martin\_Chauveliere](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@Martin\_Chauveliere](https://forum.inductiveautomation.com/u/Martin_Chauveliere)\
**Post date:** [June 13, 2024, 2:24pm UTC](https://forum.inductiveautomation.com/t/dropdown-size-to-fit-all-the-text/91822/3 "2024-06-13T14:24:27Z")

</div>

Thx 👍
