Question

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.

Was it helpful?

Solution

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]
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top