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

Just starting out? Need help? Post your questions and find answers here.
User avatar
T4r4ntul4
Posts: 132
Joined: Wed May 21, 2014 1:57 pm
Location: Netherlands
Contact:

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

Post 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)
Fred
Site Admin
Posts: 1821
Joined: Mon Feb 24, 2014 10:51 am

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

Post by Fred »

You can use SetGadgetFont(), it should work
User avatar
T4r4ntul4
Posts: 132
Joined: Wed May 21, 2014 1:57 pm
Location: Netherlands
Contact:

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

Post by T4r4ntul4 »

edit:

nvm got it working
JohnJohnsonSHERMAN
Posts: 14
Joined: Mon Oct 31, 2016 1:50 pm
Location: Somewhere in this world...
Contact:

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

Post 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.
"It's only by continuously trying that you can finally succeed."-The Shadoks

Note : This Sherman is 100% made in France, so his default language is French... Please ̶p̶a̶r̶d̶o̶n̶a̶t̶e̶ forgive him his English ̶m̶i̶s̶t̶a̶ï̶q̶u̶e̶s̶ mistakes
Post Reply