[behavior] rex_text_resize

Post your work in progress addons and get feedback

Post » Mon Jan 18, 2016 5:03 pm

This is a behavior for official text plugin, or official sprite font plugin, or rex_tagtext plugin

Resize text object and background to show all lines (automatically or immediately)
Document, behavior and sample capx files are included.
Demo
- type something on text box.



Officially, text width and text height will be got at next tick after "action: set text" of text object , i.e. add a wait 0 action. This behavior could resize text / get text width immediately after "action: set text".
Last edited by rexrainbow on Mon Jan 18, 2016 5:09 pm, edited 1 time in total.
B
107
S
25
G
224
Posts: 4,322
Reputation: 127,821

Post » Mon Jan 18, 2016 5:08 pm

awesome, can you make it a border line without fill also :roll:
Image
B
33
S
10
G
2
Posts: 303
Reputation: 3,539

Post » Sun Apr 17, 2016 8:39 pm

This is an awesome addition but I have some bugs! I get some occasional glitching where it appears that the text justification changes for a few seconds before settling down. I have not been able to reproduce it in a simple capx yet. I also have an example here where it appears that the plugin is not re-sizing the text object. Unless there's something fundamental that I'm missing, I think this is a bug. Thanks!!
B
68
S
17
G
65
Posts: 2,182
Reputation: 41,304

Post » Mon Apr 18, 2016 1:10 am

@Colludium

I saw two text object with the same width. It is correct. The max width of text object will be the initial width.
B
107
S
25
G
224
Posts: 4,322
Reputation: 127,821

Post » Mon Apr 18, 2016 4:41 am

rexrainbow wrote:The max width of text object will be the initial width.


I missed this but understand now - thanks for a great plugin!
B
68
S
17
G
65
Posts: 2,182
Reputation: 41,304

Post » Mon Apr 25, 2016 8:59 pm

I tried installing the plugin rex_text_resize, rex_text_typing and rex_scrolling text whit versions R221 and R227 in C2 and they do not work.
Sreen shot:
https://drive.google.com/file/d/0B6C0RF ... sp=sharing
https://drive.google.com/file/d/0B6C0RF ... sp=sharing
https://drive.google.com/file/d/0B6C0RF ... sp=sharing
Do these plugins work with older versions? Or have an error?
Best regards
B
27
S
10
G
2
Posts: 39
Reputation: 2,869

Post » Wed Apr 27, 2016 2:04 am

Update

Fix bug of cutting text after resizing sometime.


@yofabianuy

Thanks for testing.
B
107
S
25
G
224
Posts: 4,322
Reputation: 127,821

Post » Wed Apr 27, 2016 11:32 pm

rexrainbow wrote:Update

Fix bug of cutting text after resizing sometime.


@yofabianuy

Thanks for testing.

Thank you for your excellent plugin ¡¡¡
B
27
S
10
G
2
Posts: 39
Reputation: 2,869


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests