Jump to content

[SOLVED] Float:Left, Float:Right, Float:Center?


photo

Recommended Posts

Posted

Hello together,

 

first: Happy Christmas ;)

 

second: Is it possible to float in unigine, like in html?

In attachment you'll find an image, I'd like to center all 4 menu settings with a space of 5 px.

The problem in this case: I positioned them by "pos_x" and "pos_y" but if you're changing language to french e.g. the text is much longer and pos_x and pos_y is failing. (second attachment)

 

I tried some methods to center the text-buttons dynamicly but failed - any ideas?

 

Greetings

Lars

post-248-0-60994400-1388151925_thumb.png

post-248-0-96604300-1388152189_thumb.png

  • 3 weeks later...
Posted

Hi Lars,

 

Sorry for the late reply.

 

Have you tried to use hbox or gridbox to align your objects in horizontal line? You can use space_x option to adjust horizontal spacing between elements. 

If somehow it is not working in your case, please send us a simple test scene with this menu to check.

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Hi Silent,

I'll have a look, thanks for you feedback.

 

Greetings

Lars

×
×
  • Create New...