The button for collapsing is in a confusing place. It should probably be on the [ Example | Logs ] header.
Another option would be to have Example & Logs as mini collapsable panels, instead of tabs, with a collapse icon (and any help) next to each them. This has the benefit that you can then look at your definitions & logs at the same time instead of switching between them. It would only take two lines instead of one so it wouldn't use up too much space.