When I enter with the mouse on some component (f.i. TextButton) or leave this component with the mouse, the parent component (MainComponent) gets painted, too.
Is this normal?
Shouldn’t the TextButton only be redrawn? (plus ofcourse its background, which must have been precalculated ofcourse). This would involve some z-ordering ofcourse.