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).
B
9
S
3
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
B
27
S
10
G
2
Posts: 39
Reputation: 2,869


Return to How do I....?

Who is online

Users browsing this forum: Christmas, mekonbekon, morti, R0J0hound, Raging Melon, S1mon, tarek2, waltg and 4 guests