As my first AS project, I have managed to create a little window with
a few buttons and a text view that displays the contents of myString
when my program executes the following code:
tell text view 1 of scroll view 1 of window "Lyrics"
set its contents to myString
end tell
I would like to display this string in a monospaced font, like Monaco
or Courier, for example. Any ideas on how to do this?
I tried...
in Interface Builder, I...
selected the Text View
(or the Scroll View; it doesn't seem to make any difference)
pulled down from Format to Font to "Show Fonts"
in the Font floating window that appeared,
selected "Fixed Width" Courier" "Regular" "12"
(Here I wasn't sure what to do so I...)
closed the Font floating window
Then I clicked "Build and Go" and "Save All". In a few seconds, my
app launched and myString appeared in the window, but still in the
same old proportional font.