Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / SetVirtualButtonTextSize и SetVirtualButtonTextColor

Author
Message
cgw
4
Years of Service
User Offline
Joined: 29th Oct 2019
Location:
Posted: 14th Jan 2022 11:27
Missing command to set button text size
Something like. SetVirtualButtonTextSize и SetVirtualButtonTextColor
How can I change the text size and text color on a button?
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 14th Jan 2022 12:04
In short, you cant!

Open Source plugins
Cl - DnD Plugin
Buy Me A Coffee
Steve Ancell
18
Years of Service
User Offline
Joined: 16th Feb 2006
Location: Brighton, East Sussex, UK
Posted: 14th Jan 2022 15:48
Buttons can be a pain in the chad so I just use images and define a clickable area instead.
Furord
9
Years of Service
User Offline
Joined: 8th Aug 2014
Location:
Posted: 15th Jan 2022 10:58
it's rarely practical to use the default buttons, as Steve Ancell says, it's better to create your own.
Wizard Ranch
2
Years of Service
User Offline
Joined: 24th Dec 2021
Location:
Posted: 6th Feb 2022 19:04 Edited at: 7th Feb 2022 18:13
CGW,

I have tinkered with a similar problem not long ago. If you want to use the Studio inbuilt buttons I would recomment that you create a virtual button, and then add a text objects on top of it in the scene editor.
You can change the size and font of the text object however you want, and you have basically exactly what you want, and this workaround might be much faster than in-script buttons.

Login to post a reply

Server time is: 2024-03-29 14:20:42
Your offset time is: 2024-03-29 14:20:42