Currently, the window is locked at a fixed height and width. Resizing does not work as the size is locked.
Create a dynamic canvas along with an event such that upon resize, the blocks are regenerated or adapt-to-change with the new size of the canvas. Keep in mind that the buttons are fixed currently and changing sizes will also break the position of the button widgets.