Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
How do I change the text-style in normal buttons that you can put in?
For example I want my text inside that button to be bold. How do I do that?
Develop games in your browser. Powerful, performant & highly capable.
The simplist way is to use an image button, instead of a regular button.
However, one other option is the "Set CSS" under appearance, since the text is rendered HTML5. You can use all of the properties here:
For anyone who wants to know how I did it I simply made:
Every tick > Button - set css style "font-weight" to "bold"
Just gave it a try.
Turns out, the setting sticks, no need to do it every tick. On object created/layout loaded, etc works just fine!
Cheers and thanks!
~Complete CSS NOOOOB
Yeah, obviously :P Just put it in every tick since I already had an every tick event, felt unnecessary to create a "on start of layout" event just for it ;)