{"action":"opened","issue":{"url":"https://api.github.com/repos/Cuis-Smalltalk/Cuis-Smalltalk-Dev/issues/81","labels_url":"https://api.github.com/repos/Cuis-Smalltalk/Cuis-Smalltalk-Dev/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/Cuis-Smalltalk/Cuis-Smalltalk-Dev/issues/81/comments","events_url":"https://api.github.com/repos/Cuis-Smalltalk/Cuis-Smalltalk-Dev/issues/81/events","html_url":"https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/issues/81","id":118619166,"number":81,"title":"DOC: Update notes on differences between Squeak/Pharo and Cuis Morphic","user":{"login":"hhzl","id":1112023,"avatar_url":"https://avatars.githubusercontent.com/u/1112023?v=3","gravatar_id":"","url":"https://api.github.com/users/hhzl","html_url":"https://github.com/hhzl","followers_url":"https://api.github.com/users/hhzl/followers","following_url":"https://api.github.com/users/hhzl/following{/other_user}","gists_url":"https://api.github.com/users/hhzl/gists{/gist_id}","starred_url":"https://api.github.com/users/hhzl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhzl/subscriptions","organizations_url":"https://api.github.com/users/hhzl/orgs","repos_url":"https://api.github.com/users/hhzl/repos","events_url":"https://api.github.com/users/hhzl/events{/privacy}","received_events_url":"https://api.github.com/users/hhzl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-24T14:23:43Z","updated_at":"2015-11-24T14:23:43Z","closed_at":null,"body":"\r\nKenD to ML\r\n\r\n<Ken.Dickey@whidbey.com>\tWed, Nov 11, 2015 at 5:13 PM\r\nCuis has been taking steps toward Morphic3:\r\n\r\nhttps://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/blob/master/Documentation/NotesOnMorphic.md\r\n\r\nThe MorphExtension class was removed.  (We have Morph Properties).\r\n\r\nMorphs have float rather than integer location coordinates.\r\n\r\nMorph location is relative to their owner, not the screen.\r\n\r\nThese are relatively small changes to get used to.\r\n\r\nMore radical are some of the other simplifications in the system.\r\n\r\nThe best example here is probably Layout.\r\n\r\nLayoutMorphs do just that for their submorphs.  A LayoutSpec is attached to individual Morphs to tell their container how they want to be layed out.  See the class comments.\r\n\r\nThe code in LayoutMorph is much smaller (see LayoutMorph>>layoutSubmorphsHorizontallyIn:) than corresponding layout code in Squeak or Pharo.\r\n\r\nSee LayoutMorph class examples.\r\n\r\nIf you git clone the Morphic-Misc1 package and load it you can get Layout editors:\r\n\r\nOpen a shell and cd to the directory containing Cuis-Smalltalk-Dev\r\n\r\n  git clone https://github.com/KenDickey/Cuis-Smalltalk-Morphic-Misc1.git\r\n\r\nGo to Cuis-Smalltalk-Dev, open an image and use a Workspace to require the package:\r\n\r\n  Feature require:  'Morphic-Misc1'.\r\n\r\nThen use the LayoutMorph class examples, select (sub) morphs, open a LayoutMorph Editor (or a LayoutSpec Editor) and play with the settings.\r\n\r\nNote that these editors are \"one-shot\" and will close after setting or cancelling, so click on the \"push pin\" in the upper right corner to keep them open.\r\n\r\nIf you have several editors open, you can use the \"Show Halo\" button to see which Morph an editor is adjusting.\r\n\r\n> Is there any documentation on how to use it, or is it allInTheCode ?\r\n\r\nSee the above URL and continue to ask questions.  We need to make the documentation better over time and questions are very helpful here.\r\n\r\n--\r\n-KenD\r\n"}}