resizing a grid after change
you’ve got to resize the parent e.g.
grid->GetParent()->Layout(); and then to be sure, run Layout on the top window
you’ve got to resize the parent e.g.
grid->GetParent()->Layout(); and then to be sure, run Layout on the top window