From 79fbd17b338c22e09a44517407ecb7490b3ee69d Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Thu, 18 Apr 2024 16:08:23 +0200 Subject: [PATCH] Add link to layouting tracking issue --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2f4d5d19a83..924d509bd80 100644 --- a/README.md +++ b/README.md @@ -255,6 +255,8 @@ You can also call the layout code twice (once to get the size, once to do the in For "atomic" widgets (e.g. a button) `egui` knows the size before showing it, so centering buttons, labels etc is possible in `egui` without any special workarounds. +See [this issue](https://github.com/emilk/egui/issues/4378) for more. + #### CPU usage Since an immediate mode GUI does a full layout each frame, the layout code needs to be quick. If you have a very complex GUI this can tax the CPU. In particular, having a very large UI in a scroll area (with very long scrollback) can be slow, as the content needs to be laid out each frame.