调整Eclipse RCP Part [英] Resize Eclipse RCP Part

查看:428
本文介绍了调整Eclipse RCP Part的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用eclipse RCP创建一个应用程序,我有很多Part,我想调整它们的大小。



我已经检入Application4xmi,但没有找到任何帮助。



任何想法?

解决方案

您可以设置通过设置 Bounds 宽度和高度值,在Application.e4xmi中的窗口



通常,您可以使用 PartSashContainer 来分割窗口。您为小孩的容器数据指定每个孩子所用的百分比。


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?

解决方案

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.

这篇关于调整Eclipse RCP Part的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆