Hello I have played with this on Moose 5.0 (Pharo 3.0 update: #30854) on Windows 7 Pro. For me, it is necessary to include color:Color red after openInWindow to get the red background, as Thierry said. There is another puzzle, which is that the code does not respond in any linear way to changes in the font size. If you replace size: 75 with any number from 38 upwards, you get the same size of font. Change the size to 37 and there is a sharp reduction in size, and it changes in proportion for smaller numbers. Is there something different about this font? Peter Kenny From: Pharo-users [mailto:pharo-users-bounces@lists.pharo.org] On Behalf Of Nicolai Hess Sent: 05 September 2014 08:19 To: Any question about pharo is welcome Subject: Re: [Pharo-users] How to create a red box with text in a big font? 2014-09-05 8:43 GMT+02:00 phil@highoctane.be <mailto:phil@highoctane.be> <phil@highoctane.be <mailto:phil@highoctane.be> >: Yes there is that annoying thing with windows that set things bacl to white. Why is that indeed? Phil I can not reproduce this with this code: Morph new color:Color red; hResizing: #shrinkWrap; addMorph: ( 'Hello World' asMorph fontName: 'Open Sans' size: 75; emphasis: TextEmphasis bold emphasisCode); openInWindow The Morph is red! Le 4 sept. 2014 23:32, "Thierry Goubier" <thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com> > a écrit : Le 04/09/2014 23:12, kilon alios a écrit : but if I try to do openInWindow instead of openInWorld in the end it turns it to white box , why ? Adding the morph inside the window changes the morph color to white :( (What the heck?) If the color is changed after the openInWindow, then that works. Morph new hResizing: #shrinkWrap; addMorph: ( 'Hello World' asMorph fontName: 'Open Sans' size: 75; emphasis: TextEmphasis bold emphasisCode); openInWindow; color: Color red Thierry On Thu, Sep 4, 2014 at 11:56 PM, Thierry Goubier <thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com> > wrote: Le 04/09/2014 18:18, Tim Mackinnon a écrit : Cool - thatâs handy to know it works somewhere (and in fact, it was when playing with GT-Inspector I noticed this - so that solution would work). Iâm still curious how you do it in Morphic? Like that: Morph new color: Color red; hResizing: #shrinkWrap; addMorph: ( 'Hello World' asMorph fontName: 'Open Sans' size: 75; emphasis: TextEmphasis bold emphasisCode); openInWorld Thierry Tim On 4 Sep 2014, at 17:10, Alexandre Bergel <alexandre.bergel@me.com <mailto:alexandre.bergel@me.com> > wrote: Using Roassal, I would do: -=-=-=-=-=-=-=-=-= v := RTView new. s := RTMultiCompositeShape new. s add: (RTBox new color: Color red; size: 500). s add: (RTLabel new height: 70). v add: (s elementOn: 'Hello World'). v open -=-=-=-=-=-=-=-=-= <Screen Shot 2014-09-04 at 12.10.14 PM.png> Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu <http://www.bergel.eu/> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. On Sep 4, 2014, at 9:27 AM, Tim Mackinnon <tim@testit.works <mailto:tim@testit.works> > wrote: Hi guys - Iâm a bit stumped on how to create things in big text with a set background colour. I thought I understood - but it just doesnât seem to work. I was thinking I could create a container morph, set its background colour (which works), and then put a StringMorph inside it with a set font. This last bit I canât get to work - I can do bold, but not a bigger font size. Iâve tried different things but am missing the magic sauce - can someone spot my mistake? Below, Iâve tried using a font name that I can see in the Pharo settings dialog but it doesnât work? I also tried using LogicalFont with no success either. tMorph := StringMorph new. font1 := LogicalFont familyName: 'Arial' pointSize: 24. tMorph contents: 'Hello World'; fontName: 'Open Sans' size: 24; emphasis: TextEmphasis bold emphasisCode. bMorph := Morph new color: Color red; addMorph: tMorph. bMorph openInWorld. Tim