i have a button. two questions

29 views
Skip to first unread message

Hans Schüren

unread,
Jun 26, 2017, 1:36:00 PM6/26/17
to REBOL
button 100x50 font-size 16 bold "Effort" [print "Effort"]


how to change the text color in the button

how to change the font to another - for example Times new Roman


WBR
HS

Hard Steel

Gregg Irwin

unread,
Jun 26, 2017, 2:35:18 PM6/26/17
to Hans Schüren
Hi Hans,

HS> button 100x50 font-size 16 bold "Effort" [print "Effort"]
HS> how to change the text color in the button
HS> how to change the font to another - for example Times new Roman

If you give it 2 colors, the second will be the text color.

view layout [button black white font-size 16 font-name "Times New Roman" "Effort"]
view layout [button 66.120.192 white font-size 16 font-name "Times New Roman" "Effort"]

http://www.rebol.com/docs/docs.html
http://www.rebol.com/docs/view-guide.html


--Gregg

Reply all
Reply to author
Forward
0 new messages