The should be a dispatch to not expose widget in:
aTab buildWidget widget
Then, this
aTab ensureMorphicAdapter asWidget
looks really weird.
Could you provide more info about the DNU or should I try to read your mind? :P
it just says that aTab (which is a TabModel) DNU buildWidget.
btw� I think it MorphicTabManagerAdapter also misses:
removeTab: aTab
aTab ensureMorphicAdapter asWidget delete.
(or something like that)
Ben
Hi,
I was playing with Spec and I ran into a DNU problem when trying to add dynamically tabs. Looks for me that this:
addTab: aTab
self widgetDo: [ :w | w addTab: aTab buildWidget widget ]
should instead be:
addTab: aTab
self widgetDo: [ :w | w addTab: aTab ensureMorphicAdapter asWidget ]
but not sure about�
The problem is that original form works fine if adding static (on original initialisation)�
Esteban