2009-04-09, 09:05
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
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