2012-11-09, 13:36
I try to understand how things work, i got 2 more questions:
I gave it a height of 100, when you see the picture grid it is on 120 is this font related?
Now i changed the fontsize of the second label to Small why does the posy change as it is still unchanged?
Code:
<control type="label">
<label>Start</label>
<posx>100</posx>
<posy>100</posy>
<height>100</height>
<width>250</width>
<align>left</align>
<aligny>top</aligny>
<font>Large</font>
<textcolor>White</textcolor>
</control>
<control type="label">
<label>Start</label>
<posx>300</posx>
<posy>100</posy>
<height>100</height>
<width>250</width>
<align>left</align>
<aligny>top</aligny>
<font>Large</font>
<textcolor>White</textcolor>
</control>
I gave it a height of 100, when you see the picture grid it is on 120 is this font related?
Now i changed the fontsize of the second label to Small why does the posy change as it is still unchanged?
Code:
<control type="label">
<label>Start</label>
<posx>100</posx>
<posy>100</posy>
<height>100</height>
<width>250</width>
<align>left</align>
<aligny>top</aligny>
<font>Large</font>
<textcolor>White</textcolor>
</control>
<control type="label">
<label>Start</label>
<posx>300</posx>
<posy>100</posy>
<height>100</height>
<width>250</width>
<align>left</align>
<aligny>top</aligny>
<font>Small</font>
<textcolor>White</textcolor>
</control>