Side Panel Does Not Appear Past Window Size

Hello. I am trying to implement a side panel (using the SidePanel object) that extends out to the right of the plugin. However, the side panel does not extend past the constraint of the plugins main window size that is set, in my case 800 x 400. I’m a bit confused about how I can keep the plugin at 800 pixels in width but increase it temporarily when the side panel is enabled.

So far I am using a toggle button to enable the side panel to appear/disappear so I thought I could some how use the same callback to adjust the size of the main component.

Any help would be appreciated :slight_smile: