eclipse-theia / theia

Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
http://theia-ide.org
Eclipse Public License 2.0
19.38k stars 2.45k forks source link

Toolbar Width Adaptive Design #13766

Closed WHUWeiYanLin closed 1 month ago

WHUWeiYanLin commented 1 month ago

When a window covers a toolbar, I would like to be able to use a “small arrow” to close the covered toolbar icon and expand the inner icon when clicking on the small arrow (like a context menu). Currently in theia I found the “onResize” function and the window screen size change related, but I do not understand in this process should be how to listen to changes in the toolbar and do not know how to use the window changes for different rendering options, in theia to achieve this function, then the process What should be the process to realize this function in theia, and what are the function interfaces to be used?

just like turn image to image