Is there support for dynamic scaling of UI if screen changes?

A small problem I’m having is if the browser screen changes resolution or anything the game will continue to show the UI at that resolution, is there a way to force a refresh to the new size?

Well do you have a repro?

It should resize automatically: Babylon.js/advancedDynamicTexture.ts at master · BabylonJS/Babylon.js · GitHub

Did you make sure to call engine.resize() when the window is resizing?

1 Like