# setPaintingIsUnclipped question

**URL:** <https://forum.juce.com/t/setpaintingisunclipped-question/24047>\
**Category:** General JUCE discussion\
**Created:** [September 4, 2017, 10:58pm UTC](https://forum.juce.com/t/setpaintingisunclipped-question/24047 "2017-09-04T22:58:16Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![lalala](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/lalala/32/8577_2.png) [@lalala](https://forum.juce.com/u/lalala)\
**Post date:** [September 5, 2017, 8:43am UTC](https://forum.juce.com/t/setpaintingisunclipped-question/24047/4 "2017-09-05T08:43:54Z")

</div>

Using setPaintingIsUnclipped on a component that has children is not working well.  
See that thread:

> [@Unnecessary paints when parent is setPaintingIsUnclipped](https://forum.juce.com/t/unnecessary-paints-when-parent-is-setpaintingisunclipped/19913/12):
>
> Sure, but the dontClipGraphics flag was never supposed to be used for components with children. The purpose of that flag is to avoid clipping components which just contain some simple graphics.

---

_[View the full topic](https://forum.juce.com/t/setpaintingisunclipped-question/24047)._
