Center a image and text of unknown length side by side?
#1
Question 
Hi,

I wodnering if its possible to center a image and piece of text in this case time side by side. e.g.

<control type="group">

<posx>640</posx>
<posy>22</posy>

<!-- some how center group below mid screen -->

<control type="group">
<control type="image">
<description>Clock Icon</description>
<posx>0</posx>
<posy>22</posy>
<width>50</width>
<height>50</height>
<texture>icon_clock.png</texture>
</control>
<control type="label">
<description>Time Label</description>
<posx>60</posx>
<posy>22</posy>
<aligny>center</aligny>
<width>250</width>
<height>50</height>
<info>system.time</info>
<font>time_font</font>
<textcolor>FFEEEEEE</textcolor>
</control>
</control>
</control>

Any ideas?

Thanks

EqUIiNoX
Reply

Logout Mark Read Team Forum Stats Members Help
Center a image and text of unknown length side by side?0