# TextEditor drawing issues

**URL:** <https://forum.juce.com/t/texteditor-drawing-issues/19469>\
**Category:** General JUCE discussion\
**Created:** [October 13, 2016, 6:53pm UTC](https://forum.juce.com/t/texteditor-drawing-issues/19469 "2016-10-13T18:53:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RolandMR](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/rolandmr/32/641_2.png) [@RolandMR](https://forum.juce.com/u/RolandMR)\
**Post date:** [October 13, 2016, 6:53pm UTC](https://forum.juce.com/t/texteditor-drawing-issues/19469/1 "2016-10-13T18:53:40Z")

</div>

I think TextEditor::parentHeirarchyChanged() should call setOpaque (findColour (backgroundColourId).isOpaque());

Otherwise what you add a TextEditor to a component that has a look and feel where TextEditor background is transparent, there will be drawing artifacts.

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [October 16, 2016, 10:52am UTC](https://forum.juce.com/t/texteditor-drawing-issues/19469/2 "2016-10-16T10:52:33Z")

</div>

OK I think I fixed this on develop. Please check!

… I’m also happy to see that I’m not the only one who has a dyslexic typing dis-order when it comes to the word “hierarchy” 😉
