[Lua] UI layout does not respond to window resize
Simple example:
local ui = require('openmw.ui')
local util = require('openmw.util')
local interfaces = require('openmw.interfaces')
local vec2 = util.vector2
local e = ui.create{
type = ui.TYPE.Window,
layer = 'HUD',
template = interfaces.MWUI.templates.box,
props = {
relativePosition = vec2(.5, .5),
anchor = vec2(.5, .5),
size = vec2(500, 500),
},
}It is expected that when the window is resized, the widget layout is updated and remains in center of screen. Instead, nothing happens:
Since we have access to screensize, technically we can update the layout manually, but this silly to expect from every UI mod.

