Page 1 of 1

how to make text in size bigger on text/button/frame gadget?

Posted: Wed Nov 09, 2016 2:12 pm
by T4r4ntul4
Is there a way to make text bigger in size on text, button, frame (and possible other) gadgets?

Reason: If i make an android app, and i have a small tablet screen, the text is barely readible.

Or is there some automatic zoom function? (not every tablet screen is the same in size)

Re: how to make text in size bigger on text/button/frame gad

Posted: Wed Nov 09, 2016 2:32 pm
by Fred
You can use SetGadgetFont(), it should work

Re: how to make text in size bigger on text/button/frame gad

Posted: Wed Nov 09, 2016 2:54 pm
by T4r4ntul4
edit:

nvm got it working

Re: how to make text in size bigger on text/button/frame gad

Posted: Thu Nov 10, 2016 11:55 am
by JohnJohnsonSHERMAN
HTML code works also in a TextGadget.

Code: Select all

TextGadget(0,0,0,200,30,~"This text is <b>bold</b> ! And this is an <a href=\"www.spiderbasic.com\">hyperlink to SB</a>...")
...so the use of <font size="[your_font_size]">Your amazing text here</font> is possible.