Skip to content

Commit

Permalink
Do not paint over the borders of the widget
Browse files Browse the repository at this point in the history
Currently RectangleGroupStrategy sets the clipping to the maximum area
the control will need. But in case where the widget size is larger than
the area to paint (for example inside a ScrolledComposite) this will
result in painting over other widgets (at least on linux).

This now do two things:

 1) save the original clipping region and recover it afterwards
 2) intersect the calculated clipping region with the original to
possibly shrink it to the are that is valid for repaint.
  • Loading branch information
laeubi committed Jun 29, 2024
1 parent ddeb685 commit 31f40e4
Showing 1 changed file with 398 additions and 375 deletions.
Loading

0 comments on commit 31f40e4

Please sign in to comment.