Re: [Cocoadialog-users] Newline in --informative-text?
Status: Beta
Brought to you by:
sporkstorms
From: Mark A. S. <ma...@sp...> - 2009-01-03 22:44:36
|
I'm sure there's a cleaner way to do it, but you can just hard-code a newline in there: CocoaDialog yesno-msgbox --text "Hi" --informative-text "hello, world" That will work just fine, but I admit it's not the most elegant way. But anyway, it definitely supports multiple lines, both forced, and wrapped if you have a really long informative-text. This was a feature/fix I added to the 2.1.0 release. The informative-text label in the nib file will allow for an extremely large amount of text. It wraps lines automatically, and will extend itself vertically to allow for as much as text as you need (within reason). - mark Thomas Patko wrote: > Hello CocaDialog Users: > > Is it possible to print out multiple lines in the --informative-text > portion of a CocoaDialog call? In my particular case it is for a > yesno-msgbox type call. > > I would like to be able to do something like: > > --informative-text "Process ID: $MAINFIREFLYPID \n Run Time: $TIME"` > > But obviously this will not work. Is there a syntax that support > newline calls from within the --informative-text option and if so what > is the syntax? > > Thanks, > > Thomas > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Cocoadialog-users mailing list > Coc...@li... > https://lists.sourceforge.net/lists/listinfo/cocoadialog-users > |