Benjamin wrote:
euuuuh Basically what is done when you open a spec as world is that the background color changed, all the morph are closed, and the spec is specified to take all the space.So to revert it, I think you *only* need to close the spec morph, set the background color to white, and voilà Ben Okay. So this works okay... TabsExample new openWithSpec. [ (Delay forSeconds: 3) wait. SpecWindow allInstancesDo: [ :windowModel | windowModel delete ]. ] fork. but this does not.... TabsExample new openWorldWithSpec. [ (Delay forSeconds: 3) wait. SpecWindow allInstancesDo: [ :windowModel | windowModel delete ]. ] fork. However I finally managed to discover this works... TabsExample new openWorldWithSpec. [ (Delay forSeconds: 3) wait. PanelMorph allInstancesDo: [ :pm | pm delete ]. ] fork. cheers -ben On 24 Oct 2013, at 18:51, [email protected] wrote: |
- [Pharo-users] Reset Spec #openWorldWithSpec: btc
- Re: [Pharo-users] Reset Spec #openWorldWithSpec: Benjamin
- Re: [Pharo-users] Reset Spec #openWorldWithSpec: btc
