Now that we can change into fullscreen with 'f' everywhere it becomes apparent to the user that fullscreen menus never relayout themselves. The fix is very easy:
Either:
- Each UI element must be hold on to as a member.
- A layout() method puts them into the correct place. This will be called on resolution changes.
Or:
- The menus are switched to using UI::Box which can already layout themselves. This will make working with them in the future also easier. This is more work.
Now that we can change into fullscreen with 'f' everywhere it becomes apparent to the user that fullscreen menus never relayout themselves. The fix is very easy:
Either:
- Each UI element must be hold on to as a member.
- A layout() method puts them into the correct place. This will be called on resolution changes.
Or:
- The menus are switched to using UI::Box which can already layout themselves. This will make working with them in the future also easier. This is more work.