On 1/11/2009 4:04 PM, P T Withington wrote:>
It's generally a mess. I don't think anyone has thought out what really ought to happen, instead, the mechanism has just sort of evolved as applications have needed to do different things. The debugger console window is a really good test case, because we really want some default constraints, but those should be overridable by use values _or_ constraints, and on top of that, when the drag or resize states come into play, you really want to remove _any_ constraint (default class or instance).
Would it help if both instance and class constraints were removed when a state is applied? That way you can install a default constraint (can be done in the class), this can be overridden by an instance value (both constant and constraint) through the normal override behaviour in LzNode and you don't get any problems when one of the states get applied.
