You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that the TypeShowHidePresenter is pretty misleading: it shows checkmark for every type where at least one item is visible, even if some are hidden.
On the following picture there are two associations, one of them being hidden, yet the TypeShowHidePresenter makes it seem like all should be visible.
The behaviour I would more hope for would be using a tristate checkbox, where checked state would only be shown if all elements are visible, unchecked only if none are visible, and the third state otherwise:
The text was updated successfully, but these errors were encountered:
Yes, it is misleading. Unfortunately, this is limitation of current implementation of Spec, Morphic and Athens. It would be awesome to have it, but it would take quite a lot of effort I think.
It would probably need to change or create special case of SpCheckBoxTableColumn, SpMorphicTableColumnVisitor, SpMorphicTableCellBuilder, SpCheckBoxPresenter, SpMorphicCheckBoxAdapter, CheckboxMorph and CheckboxButtonMorph, incl. its method drawOnAthensCanvas: from Athens library.
I've noticed that the TypeShowHidePresenter is pretty misleading: it shows checkmark for every type where at least one item is visible, even if some are hidden.
On the following picture there are two associations, one of them being hidden, yet the TypeShowHidePresenter makes it seem like all should be visible.
The behaviour I would more hope for would be using a tristate checkbox, where checked state would only be shown if all elements are visible, unchecked only if none are visible, and the third state otherwise:
The text was updated successfully, but these errors were encountered: