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

How to design toolbar width adaptive? #13767

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?

like turn c1b7bc34-39e1-41f1-99a3-b06a6a49938c to 03ada3e7-9aed-489a-9a32-766a5935dd1c

msujew commented 1 month ago

Please don't create multiple issues for the same question, see https://github.com/eclipse-theia/theia/discussions/13736. The reason why nobody answered is likely because no one has had time to investigate this.