'From etoys4.0 of 9 October 2008 [latest update: #2223] on 27 May 2009 at 10:48:30 am'! "Change Set: fillBlank-sw Date: 27 May 2009 Author: Scott Wallace Adds a #layoutChanged call in a FillInTheBlank method... which is hard to justify except that it does happen to eliminate the bug symptom reporter in the Squeakland Tracker as issue SQ-132 (=TRAC 8781 on olpc tracker), "! !FillInTheBlankMorph class methodsFor: 'instance creation' stamp: 'sw 5/27/2009 10:46'! request: queryString initialAnswer: defaultAnswer centerAt: aPoint inWorld: aWorld onCancelReturn: returnOnCancel acceptOnCR: acceptBoolean answerExtent: answerExtent "Create an instance of me whose question is queryString with the given initial answer. Invoke it centered at the given point, and answer the string the user accepts. If the user cancels, answer returnOnCancel." "FillInTheBlankMorph request: 'Type something, then type CR.' initialAnswer: 'yo ho ho!!' centerAt: Display center inWorld: ActiveWorld onCancelReturn: '*** Cancelled ***' acceptOnCR: true answerExtent: self defaultAnswerExtent" | aFillInTheBlankMorph | aFillInTheBlankMorph _ self new setQuery: queryString initialAnswer: defaultAnswer answerExtent: answerExtent acceptOnCR: acceptBoolean. aFillInTheBlankMorph responseUponCancel: returnOnCancel. aWorld addMorph: aFillInTheBlankMorph centeredNear: aPoint. aFillInTheBlankMorph layoutChanged. ^ aFillInTheBlankMorph getUserResponse ! !