简体   繁体   中英

Restrict stack part width in Eclipse e4

I need to set a maximum size limit on a stack part width. Is this possible in Eclipse E4 to set a maximum size of the part? So in other words the use can resize the stack part but with a maximum size (so the part cannot be resized to use 50% of the screen).

There is currently no straightforward way to do this. Eclipse bug 361731 is tracking this and may be implemented in Eclipse Oxygen (4.7).

If you really want to do this it should be possible using a custom renderer for the Sash Renderer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM