# Horizontally justify a texteditor

**URL:** <https://forum.juce.com/t/horizontally-justify-a-texteditor/13433>\
**Category:** General JUCE discussion\
**Created:** [August 27, 2014, 2:56pm UTC](https://forum.juce.com/t/horizontally-justify-a-texteditor/13433 "2014-08-27T14:56:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerry-belaston](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jerry-belaston/32/209_2.png) [@jerry-belaston](https://forum.juce.com/u/jerry-belaston)\
**Post date:** [August 27, 2014, 2:56pm UTC](https://forum.juce.com/t/horizontally-justify-a-texteditor/13433/1 "2014-08-27T14:56:20Z")

</div>

Hi,

May be the question has already been asked...

Is it possible to provide a setter which allows to horizontally justify a texteditor (left, right, centre) as it is done for label with the function "setJustificationType". I know it is possible to overload the class and perform some change but i think this function will be very usefull and for me it is a very classical use.

Thanks.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [August 27, 2014, 2:59pm UTC](https://forum.juce.com/t/horizontally-justify-a-texteditor/13433/2 "2014-08-27T14:59:27Z")

</div>

The underlying class doesn't currently support that - it's been on my to-do-list for a while!

---

<div class="post-metadata">

**Author:** ![jerry-belaston](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jerry-belaston/32/209_2.png) [@jerry-belaston](https://forum.juce.com/u/jerry-belaston)\
**Post date:** [September 19, 2014, 11:55am UTC](https://forum.juce.com/t/horizontally-justify-a-texteditor/13433/3 "2014-09-19T11:55:01Z")

</div>

Hi!

Sorry for answering so late...

So it 's ok. Thanks.
