Page 1 of 1
Making an "answer" text bigger
Posted: Wed Nov 11, 2015 7:16 am
by AgentItay
Hello, I have a school project which requires me to make a game, I decided to do it with livecode, but thing is, from the projector the "answer" text is barely visible, I tried to use the <font> html tag but it gives me an error for some reason.
Thanks in advance.
Re: Making an "answer" text bigger
Posted: Wed Nov 11, 2015 4:32 pm
by dunbarx
Hi.
Since everything is a stack in LC, including the answer dialog, you sure can. Try this, and get familiar with HTML tags.
Code: Select all
on mouseUp
answer "<p><font size='40' >Are you sure?</font></p>"
end mouseUp
Craig Newman
Re: Making an "answer" text bigger
Posted: Wed Nov 11, 2015 5:01 pm
by FourthWorld
When reporting an error to the readers here it's always helpful to note what the error was.
As Craig noted, htmlText can be used but only when provided in a fully valid form, that is beginning with "<p>" and ending with "</p>". In between you have the full capabilities of LiveCode's fields available to you - see the Dictionary entry for the htmlText property for details.