[Fixed] Text with container background issue..

Get help using Construct 2

Post » Wed Apr 24, 2013 12:44 pm

Hi all!

See here for sample:

https://dl.dropboxusercontent.com/u/116137178/Help/HelpmeWithtextContainers.capx

I am trying to get text boxes to automatically have a solid / patterned background. From what I've read about containers they should be perfect for this, and from playing around with origins and setting z order I'm almost there - but the background doesn't appear at all for the first text box.

Any idea why this would be?

Should I be using pin instead of containers anyway?
silkc22013-04-24 12:56:46
B
20
S
6
G
2
Posts: 157
Reputation: 3,109

Post » Wed Apr 24, 2013 12:47 pm

It does not appear as there is already a background object in the layout, the one you have outside layout. Every text will have background object associated with it, and that particular texts background happens to be the one outside the layout.

You could:

a) Move all backgrounds to proper positions at layout start
b) Move single text and single background outside the layout
c) Have all objects in separate layout, so you don't need to have any objects outside layout
B
24
S
8
G
7
Posts: 756
Reputation: 7,192

Post » Wed Apr 24, 2013 12:55 pm

I didn't realise it would assume those one is paired (and that it wouldn't align it like it does all the others).. oops!

I found that creating them at runtime eliminates the problem anyway.

Thanks. :)silkc22013-04-24 12:56:05
B
20
S
6
G
2
Posts: 157
Reputation: 3,109


Return to How do I....?

Who is online

Users browsing this forum: Matthew de, nexlove and 27 guests