How to set minimum width of widget and not allow resizing below that width

I have a theia widget that can be moved anywhere within the layout. Now I can set a minimum width via CSS, but it creates a scrollable container when resized beyond the minimum width. How can I set a threshold width so that the widget cannot be resized below the value or stop the resize event from firing? TIA.

[original thread by rhendricks]

@spoenemann do you know with phosphorjs is it possible to set a minimal widget for a widget?


@anton-kosyakov @spoenemann any information on this ? TIA.

You will need to dig into ApplicationShell to see how it can be done. Sorry no time to look.