About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
Need to scale font in TextLine
Author Message
Houge Offline
Silver Supporter

Post: #1
Need to scale font in TextLine
Hi!

For my purposes text in TextLine is too big. I need to change font size inside TextLine, i hoped there is something like Button has - "Text Size" (scale from 0 to 1), but there is none. Am i missing something or there is no way to change that?
02-18-2017 05:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #2
RE: Need to scale font in TextLine
only thing i can see is it is bound to the size of himself,

or thru GUI skin & GUI text style
(This post was last modified: 02-18-2017 08:33 PM by RedcrowProd.)
02-18-2017 08:26 PM
Find all posts by this user Quote this message in a reply
Houge Offline
Silver Supporter

Post: #3
RE: Need to scale font in TextLine
Yes, it is bound to the size of itself, and there is no way to change the scale.
02-19-2017 09:46 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Pixel Perfect Offline
Member

Post: #4
RE: Need to scale font in TextLine
There is a text_scale setting in button.h in version 2.0 which I use to alter the size of the text in Menus but I noticed this had gone in later versions.

Not sure how this is handled any more as I'm still using 2.0
02-19-2017 12:21 PM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #5
RE: Need to scale font in TextLine
its confusing the way he said it, he's looking to have something similar from the button for the text line, but text line doesnt work the same way and there's no scale for text in text line wink
02-19-2017 07:50 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #6
RE: Need to scale font in TextLine
Hi, the textline is always auto scaled to the height of it.
The only way to change that is to alter the source code.
02-20-2017 03:09 AM
Find all posts by this user Quote this message in a reply
Pixel Perfect Offline
Member

Post: #7
RE: Need to scale font in TextLine
(02-19-2017 07:50 PM)RedcrowProd Wrote:  its confusing the way he said it, he's looking to have something similar from the button for the text line, but text line doesnt work the same way and there's no scale for text in text line wink

Thanks for the 'heads up', yeah I had misunderstood what he was after. I also have the answer to what replaced text_scale now in button.h as it's obviously text_size. Not sure how I missed that but I did wink
02-20-2017 10:33 AM
Find all posts by this user Quote this message in a reply
Post Reply