Hi guys
the code of MenuMorph is crippled of isInDockingBar and the logic is
much more complex.
I have the impression that it is decades since we got a menu in a
docking bar. I do not even remember
what it mean. I would like to clean this part because we should really
be a bit more radical else we will die under
the mass of complex, old.... code.
Stef
looks like a dockingbar is this
DockingBarMorph new
addMorph: (SimpleButtonMorph new
label: 'Say hello';
target: [UIManager inform:
'Hello'];
actionSelector: #value);
addMorph: (SimpleButtonMorph new
label: 'Say bonjour';
target: [UIManager inform:
'Bonjour'];
actionSelector: #value);
addMorph: (SimpleButtonMorph new
label: 'Close';
target: [DockingBarMorph
allInstances last delete];
actionSelector: #value);
adhereToBottom;
openInWorld.