2016-04-11 8:29 GMT+02:00 Stephan Eggermont <step...@stack.nl>: > On 11-04-16 02:00, Robert J Rothwell wrote: > >> Should >> >> (MessageDialogWindow new text: 'Hello') open >> >> work? >> >> I get a stack trace on CompositionScanner if I try to set the text. >> > > Yes. Please open a bug entry. (If you want to help, try with a few older > versions > of pharo to find out when the bug was introduced) >
Yes, maybe MessageDialogWindow should init the font with a default font. > Also, is there a way to display the dialog modally (relative to your >> application)? >> >> Take a look at Morph>openModal: > > Stephan > > And this DialogWindow classes are used by UITheme, for example Smalltalk ui theme messageIn:World text:'Some MessageText' title:'The Title'. or for long messages: Smalltalk ui theme longMessageIn:World text: ProfStef pharoZenValuesContents title:'Pharo Zen'. The "World" argument specifies to which Window this Dialog should be modal.