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
26
S
11
Posts: 221
Reputation: 2,497

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
141
S
31
G
88
Posts: 5,747
Reputation: 61,507

Post » Tue Nov 10, 2015 1:48 am

Thank you :) That worked perfectly
B
26
S
11
Posts: 221
Reputation: 2,497


Return to How do I....?

Who is online

Users browsing this forum: Daniel Cotorogea and 24 guests