문제

How can I minimize or maximize the views in a window in an RCP application using e4 tools. I have 2 views one is a table and another is a welcome page, I am trying to increase the width of my table view so that it takes more than half of the window space. I am customizing the UI using the Application.e4xmi found in the e4 tools? I tried using the container space but it does not work? Thank you for your help.

도움이 되었습니까?

해결책

I suspect that your model looks something like this:

Perspective (or Window)
    PartSashContainer
        Part Stack
            Part (Welcome)
        Part Stack
            Part (Table)

You can use the Attribute "Container Data" on each of the PartStack Elements in your Model.

For example you can have the Table-Part use 70% of the available space:

Perspective (or Window)
    PartSashContainer
        Part Stack [container data=30]
            Part [id=welcome]
        Part Stack [container data=70]
            Part [id=table]
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top