doRebuild does the full re-render and RenderContext Rebuild flag should be used by Widgets to rebuild things that are otherwise cached (e.g., Icon, TextCursor).
()
| 252 | // should be used by Widgets to rebuild things that are otherwise |
| 253 | // cached (e.g., Icon, TextCursor). |
| 254 | func (sc *Scene) doRebuild() { |
| 255 | sc.updateScene() |
| 256 | sc.applyStyleScene() |
| 257 | sc.layoutRenderScene() |
| 258 | } |
| 259 | |
| 260 | // prefSize computes the preferred size of the scene based on current contents. |
| 261 | // initSz is the initial size -- e.g., size of screen. |
no test coverage detected