Set CSS Style for Textbox?

Discussion and feedback on Construct 2

Post » Fri Apr 05, 2013 8:23 pm

Is there a Set CSS Style for textbox? I cant seem to find it. I found it on buttons. thanks
B
21
S
7
G
1
Posts: 128
Reputation: 3,076

Post » Fri Apr 05, 2013 8:43 pm

Does the manual post help?
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Fri Apr 05, 2013 9:10 pm

I do not see Set CSS Styles for Textbox I am running the beta 124, wonder if that is issue. Anyone see it that is running a stable or lower version?
B
21
S
7
G
1
Posts: 128
Reputation: 3,076

Post » Fri Apr 05, 2013 10:09 pm

Ok, I figured out my problem ...ME... So I am trying to apply CSS to a TEXT Object which I assume becomes a Label in HTML? Any idea why TEXT is not able to be styled?
B
21
S
7
G
1
Posts: 128
Reputation: 3,076

Post » Fri Apr 05, 2013 10:24 pm

Reading the Manual :) I think TEXT is just that, text/Font so CSS Style is somewhat useless. Ok thanks
B
21
S
7
G
1
Posts: 128
Reputation: 3,076

Post » Sat Apr 06, 2013 12:13 am

there are two types of text objects, only one takes CSS input. You need to first Insert the other type.
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Sat Apr 06, 2013 2:45 pm

I think you're confused between the Textbox and Text objects.

Textbox = a form field for user to type text in to. Can be styled with CSS.
Text = for displaying some text on screen. Cannot be styled with CSS.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Sat Apr 06, 2013 7:37 pm

@Ashley, you are correct I figured that out later down the road. Thank you
B
21
S
7
G
1
Posts: 128
Reputation: 3,076

Post » Mon May 13, 2013 6:48 am

sorry bumping old topic. but where is the button to style CSS the textbox?

i have read
https://www.scirra.com/manual/117/textbox

it explains what to do with the CSS but did not say Where i can find the CSS button

thanks
B
9
S
1
Posts: 13
Reputation: 532

Post » Mon May 13, 2013 2:16 pm

@orangpelupa - use the 'Set CSS style' action.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Next

Return to Construct 2 General

Who is online

Users browsing this forum: saiyadjin and 14 guests