I know I can use Shell.setMinimumSize for this, though I haven't yet found the right place to put the call.
Is there some way to set this using the e4xmi?
And is there some mechanism for setting minimum sizes on a part or partstack? I've looked everywhere I can think of and the only thing I came up with was the possibility of creating my own layout class. That seems wrong in so many ways, there must be a better solution.
Am 07.10.11 09:30, schrieb grillo321:
> I know I can use Shell.setMinimumSize for this, though I haven't yet
> found the right place to put the call.
> Is there some way to set this using the e4xmi?
no because the model is not designed on a higher level than SWT. We
could think about adding a Map which allows the user to spec define
generic values which are applied following the Bean-Pattern.
Can you file a bugzilla and add me to it.
>
> And is there some mechanism for setting minimum sizes on a part or
> partstack? I've looked everywhere I can think of and the only thing I
No but I think this might be a regression to 3.x because there it is
possible.
I think the container-data has to allow:
* minimum weight
* maximum weight
* default weight
* minimum size in pixels
* maximum size in pixels
* default size in pixels
I'm not sure anymore why we defined containerData as a String and not a
Map<String,String> which would make it easier for us to support the
above list of properties
> came up with was the possibility of creating my own layout class. That
> seems wrong in so many ways, there must be a better solution.
>
Seems to be wrong but currently the one way you can make that work is to
write your own renderer. I don't expect it to be hard to implement those
requirements in the SashLayout and contribute them back.