You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 10, 2024. It is now read-only.
So for example an embedded Button would be recreated: <widget TBButton: id: 'mybutton' text: 'Click Me'>
This can get quite expensive and could be why the about dialog is slow on resize, the widgets should only be recreated if necessary, probably cached and then clear widget cache if content changes.
The text was updated successfully, but these errors were encountered:
tb_style_edit calls CreateFragmentContent here on layout:
https://github.com/AtomicGameEngine/AtomicGameEngine/blob/master/Source/ThirdParty/TurboBadger/tb_style_edit.cpp#L936
Which creates embedded widgets whenever there is a layout, resize, etc:
https://github.com/AtomicGameEngine/AtomicGameEngine/blob/master/Source/ThirdParty/TurboBadger/tb_editfield.cpp#L670
So for example an embedded Button would be recreated:
<widget TBButton: id: 'mybutton' text: 'Click Me'>
This can get quite expensive and could be why the about dialog is slow on resize, the widgets should only be recreated if necessary, probably cached and then clear widget cache if content changes.
The text was updated successfully, but these errors were encountered: