How do I Change checkbox/slidebar sizes

Get help using Construct 2

Post » Mon Nov 09, 2015 9:43 pm

So from what I can tell you use CSS for everything button related but how do you change the size of it? I can change the font size but I can't figure out how to change the actual size of the check box or a slider. Any help would be appreciated (even just an example).
B
22
S
8
Posts: 203
Reputation: 2,059

Post » Mon Nov 09, 2015 10:03 pm

bbjGames wrote:So from what I can tell you use CSS for everything button related but how do you change the size of it? I can change the font size but I can't figure out how to change the actual size of the check box or a slider. Any help would be appreciated (even just an example).



I just checked the slider and there is an action to 'Set Size' in pixels that appears to work for me, at least the horizontal width does.

Alternatively, you could use the Set CSS action with the settings:

Code: Select all
Property = "transform"
Value = "scale(1.5)"


which works on both.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
87
Posts: 5,496
Reputation: 60,278

Post » Tue Nov 10, 2015 1:48 am

Thank you :) That worked perfectly
B
22
S
8
Posts: 203
Reputation: 2,059


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 35 guests