specifying color of text

749 views
Skip to first unread message

Wendell MacKenzie

unread,
Aug 7, 2012, 3:01:50 PM8/7/12
to yad-c...@googlegroups.com
Hi:

   Trying to set the foreground color of text being emitted in a text dialog.  not working as expected...

$ yad --fore="#CC2222" --text "foobar - Cluster Status: ACTIVE"

   Is this not the way to do it?  If not, please elaborate.

thx.
W. MacKenzie

Victor Ananjevsky

unread,
Aug 8, 2012, 9:39:37 AM8/8/12
to yad-c...@googlegroups.com
В Tue, 7 Aug 2012 12:01:50 -0700 (PDT)
Wendell MacKenzie <mack...@gmail.com> писал:
use pango markup for set text properties for dialog's text

yad --text "<span color='#CC2222'>foobar - Cluster Status: ACTIVE</span>"


--fore and --back works only for --text-info dialog

--
Victor Ananjevsky <anan...@gmail.com>

Wendell MacKenzie

unread,
Aug 26, 2012, 10:55:34 AM8/26/12
to yad-c...@googlegroups.com
Thx Victor.  That dood it. :)
Reply all
Reply to author
Forward
0 new messages