bluegr/scummvm — comment on commit 20be73cd87db5c7cc50ca610f2b1a9833832b3a8
File: gui/object.cpp line 45
By lordhoto:

> As for the theme layout files: it's not possible to add this in the theme layout files, as the number of widgets can vary

It still isn't clear why this is needed here then. On the first though one could create the widgets with fixed sizes and adapt them in EditGameDialog::reflowLayout in case of layout changes. But maybe this simple straightforward possibility does not work and thus this hack is required.