Auto-resize text boxes

Get help using Construct 2

Post » Sun Jul 14, 2013 5:06 pm

How do I auto-resize textboxes? Is this possible / a feature that's on the docket to be added? Two situations where I need this:

(1) Mixing and matching font styles for a large block of text (bold header of variable length followed by regular text followed by italicized text). Right now I'm not sure how to make sure everything lines up perfectly.

(2) Tooltips (creating the size of the semi-transparent box behind the tooltip text)

Mipey's spritefont plugin used to be able to do this with Set Resize Mode I believe, but forum searches on the official spritefont and text objects only turned up the workaround of multiplying every character by character width to determine the length of the string and calculating it manually (seems really inefficient for a large block of text).
Posts: 58
Reputation: 1,566

Post » Mon Feb 22, 2016 4:57 am

I need to create a text box with an image that can be resized according to the text. Like a whatsapp message box
Posts: 40
Reputation: 2,896

Return to How do I....?

Who is online

Users browsing this forum: SERGIOManOwaR and 2 guests