egui icon indicating copy to clipboard operation
egui copied to clipboard

Rework `Window` margins and set `clip_rect_margin` to zero

Open emilk opened this issue 1 month ago • 3 comments

  • Follows https://github.com/emilk/egui/pull/7722
  • Part of https://github.com/emilk/egui/issues/5605
  • Closes https://github.com/emilk/egui/issues/3385

Now that we have ScrollArea::content_margin, we should not need clip_rect_margin.

emilk avatar Nov 17 '25 04:11 emilk

Preview available at https://egui-pr-preview.github.io/pr/7725-emilkno-clip-rect-margin Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

View snapshot changes at kitdiff

github-actions[bot] avatar Nov 17 '25 04:11 github-actions[bot]

Oops - the windows headers shrunk… a lot. Good with screenshot tests 😅

emilk avatar Nov 19 '25 00:11 emilk

Oh no… I need to do the resize-corner interaction on top of the scroll area, or they will fight with each-other

emilk avatar Nov 21 '25 17:11 emilk