Text Appearing Outside TextPlugin border box.

Bugs will be moved here once resolved.

Post » Sat Mar 10, 2012 1:47 am

Intel Centrino
Windows XP SP3
Construct 2 80.2
Firefox 10.0.2


NOTE: this refers to the Text plugin, *not* the TextBox plugin.

Text of any kind without spaces does not wrap properly.

Steps:
1. Create a small instance of the text plugin
2. Change font size to 16
3. Write: '12873895819289112' or any random set of values
4. Observe that although the values are wrapped properly in the editor, as soon as the project is run, it goes past the boundary and does not wrap.

Note: Also happen if text is set programmatically

Example:
Text Border Capx


-- cacotigon
B
30
S
6
G
8
Posts: 232
Reputation: 6,119

Post » Sat Mar 10, 2012 8:43 pm

Addendum: Just want to mention that rexrainbow wrote out a quick text plugin that doesn't seem to suffer from this problem when using unicode characters like chinese, although it still happens with regular characters as mentioned above. Not sure if this would aid with debugging the problem.

http://www.scirra.com/forum/topic49877.htmlcacotigon2012-03-10 20:44:53
B
30
S
6
G
8
Posts: 232
Reputation: 6,119


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests