Resize Eclipse RCP Part

人走茶凉 提交于 2019-12-13 15:25:42

问题


I'm creating an application using eclipse RCP, I have many Part and I want to resize them. Some of these parts don't need many space.

I've checked in Application.4xmi but I didn't found anything helpful.

Any ideas?


回答1:


You can set the size of a Trimmed Window in the Application.e4xmi by setting the Bounds width and height values.

Usually you then use PartSashContainer to divide up the window. You specify a percentage used for each child in the Container Data for the child.



来源:https://stackoverflow.com/questions/21260924/resize-eclipse-rcp-part

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!