>
> The name of the methods could suggest that they are concerned with the
> default/initial setting of a UI element, rather than the (current) value use
> for the layout. E.g. getInitialHorizontalFill() would be more explanatory.

Agreed.

>
> Did you test that it has effect also for the initial layout. It's only when
> the control and layout is refreshed by triggering relayoutExample() that the
> hFill and vFill values are used. This bit me when I implemented my
> suggestion. I needed to introduce a configureLayout() method and use it both
> in recreateExample() and relayoutExample():

Yes, i saw that too. The trick is to also give the booleans their initial value.
_______________________________________________
nebula-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/nebula-dev

Reply via email to