# Tab Container (justify tabs to right)

**URL:** <https://forum.inductiveautomation.com/t/tab-container-justify-tabs-to-right/94582>\
**Category:** Ignition\
**Created:** [August 13, 2024, 11:35am UTC](https://forum.inductiveautomation.com/t/tab-container-justify-tabs-to-right/94582 "2024-08-13T11:35:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmed\_Medhat](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@Ahmed\_Medhat](https://forum.inductiveautomation.com/u/Ahmed_Medhat)\
**Post date:** [August 13, 2024, 11:35am UTC](https://forum.inductiveautomation.com/t/tab-container-justify-tabs-to-right/94582/1 "2024-08-13T11:35:52Z")

</div>

I am working on building a system that supports Arabic and English languages I want to make the tabs of tab container be justified to the right when the system language changed to Arabic.

Is there a way to justify tabs to the right and bind it to language property of the session ?

---

<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:** [August 13, 2024, 12:31pm UTC](https://forum.inductiveautomation.com/t/tab-container-justify-tabs-to-right/94582/2 "2024-08-13T12:31:10Z")

</div>

You can use `flex-direction: row-reverse` on the `menuStyle` property of the tab container to achieve this.

Basically, put an expression binding on that prop that would look like this:

```python
if (left({session.props.locale}, 2) = 'ar',
	'row-reverse',
	'row'
)

```
