Textbox one-lined behavior

Bugs will be moved here once resolved.

Post » Wed Jun 29, 2016 7:21 am

Hi everyone ! Here's my bug record.

Problem Description
The Textbox displays wrong.

Attach a Capx
Textbox_bug.capx

Description of Capx
Nothing but a simple textbox.

Steps to Reproduce Bug
  • Create a text box.
  • Launch game from preview or export.

Observed Result
The text is only on one line, and vertically centered.

Expected Result
The text should be as seen in the editor : placed in top-left corner, possibly on several lines.

Affected Browsers
  • Chrome: YES
  • FireFox: YES
  • Microsoft Edge : YES

Operating System and Service Pack
I tried from two different computers : Windows 10 Service Pack (?) and Windows 8 service Pack (?).

Construct 2 Version ID
r227. But the bug is the same on r230.

Thank you! Have a nice day!
Image
B
10
S
3
G
2
Posts: 68
Reputation: 1,696

Post » Wed Jun 29, 2016 11:42 am

Closing as won't fix: the expected result is incorrect, text boxes are single-line by design unless you choose textarea mode. This is how browsers implement them, not Construct 2. The positioning isn't centered but I don't think this aspect is standardised. The editor representation is never going to be exact either since form controls are rendered differently in browsers so it's just basically a placeholder; for example the checkbox control doesn't really look like what you really get either.
Scirra Founder
B
387
S
230
G
87
Posts: 24,248
Reputation: 192,226

Post » Wed Jul 06, 2016 10:46 am

Got it! Sorry about that and thank you for your answer!
Image
B
10
S
3
G
2
Posts: 68
Reputation: 1,696


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests