The buttons in the query workbench for expanding the right sidebar or expanding the middle panel don't work properly when the query result is shown as a table.
Normal:
Expand middle section, but table doesn't expand:
Expand right section, but table doesn't shrink: