Fix expanded panels and size allocation
Merge pull request #212 from rilian-la-te/fix_expand

Fix expand