My thoughts exactly! 😊 There is a description on how to do this i the spec book, here https://ci.inria.fr/pharo-
contribution/view/Books/job/ BuildingUIWithSpec/ lastSuccessfulBuild/artifact/ book-result/SpecBooklet.pdf# section*.20 Â
More about the book at http://books.pharo.org/spec-
tutorial/ Â
--
Johan Fabry, Senior Software Engineer.Â
johan@raincode.com | Email too brief? Here's why! http://emailcharter.org
Â
From: Moose-dev [mailto:moose-dev-bounces@
list.inf.unibe.ch ] On Behalf Of Peter Uhnák
Sent: Tuesday, March 27, 2018 6:38 PM
To: Moose-related development <moose-dev@list.inf.unibe.ch>
Subject: [Moose-dev] Re: Error dialog?Â
Hi Luke,
Â
For example, I would like to show an error message that includes the output of a Unix command (potentially quite long.)
Â
I had similar issue and in the end I decided to just create a custom dialog using Spec.
Â
tm := TextModel new.
tm title: 'Failed to do something useful'.
tm enabled: false.
tm text: 'A ' asText, ('lot' asText allItalic), ' of ' asText, ('text' asText allBold makeAllColor: Color red), ' can fit into this box.' asText.
tm openDialogWithSpec
Â
 Obviously this is literally the most basic way, I could e.g. compose multiple Spec Models etc.
Â
Peter
_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev