About Store Forum Documentation Contact



Post Reply 
How to decrease font size in the button?
Author Message
Emtec Offline
Member

Post: #1
How to decrease font size in the button?
As in the topic: how to decrease font size in the button? e.g.: Gui.ts_button.font=Fonts(...); And now I want to decrease the font size in the button.
11-07-2013 09:31 PM
Find all posts by this user Quote this message in a reply
Rubeus Offline
Member

Post: #2
RE: How to decrease font size in the button?
Did you try yourButton.TextStyle or yourButton.Scale ?
11-07-2013 09:50 PM
Find all posts by this user Quote this message in a reply
Emtec Offline
Member

Post: #3
RE: How to decrease font size in the button?
Yes I've tried: Gui.ts_button.scale*=0.5f; but it hasn't helped.
(This post was last modified: 11-07-2013 10:02 PM by Emtec.)
11-07-2013 10:01 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: How to decrease font size in the button?
Button class has its own member for changing the text size.
Button.*scale* or *size*
11-07-2013 10:51 PM
Find all posts by this user Quote this message in a reply
Emtec Offline
Member

Post: #5
RE: How to decrease font size in the button?
Thanks. Button.text_scale
(This post was last modified: 11-07-2013 11:09 PM by Emtec.)
11-07-2013 11:09 PM
Find all posts by this user Quote this message in a reply
Post Reply