Text align right question
#1
I am trying to line up some text and I have it going great for left & center. My question is if right align puts the right side of the text as the stop point on the right side of the screen. I have this as my code, but no text shows up on the right. I was assuming I could use the same x position and it would put the duration on the right side of the screen as long as it has the same width. I think I might be incorrect as to what the right align does because if I change the x position it will show up, but completely out of position of where I want it. Any suggestions on how to get a label to align on the right side of the screen would be great!

<control type="label">
<posx>0</posx>
<posy>680</posy>
<width>1290</width>
<height>35</height>
<font>font18</font>
<textcolor>white</textcolor>
<scroll>true</scroll>
<align>center</align>
<aligny>center</aligny>
<label>[UPPERCASE]$INFO[ListItem.Label][/UPPERCASE]</label>
</control>
<control type="label">
<posx>20</posx>
<posy>680</posy>
<width>1290</width>
<height>35</height>
<font>font12</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<scroll>true</scroll>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Duration,$LOCALIZE[2050] : ]</label>
</control>
<control type="label">
<posx>300</posx>
<posy>680</posy>
<width>1290</width>
<height>35</height>
<font>font12</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<scroll>true</scroll>
<align>right</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Duration,$LOCALIZE[2050] : ]</label>
</control>
Reply
#2
try this:
<posx>300r</posx>
<posy>680r</posy>
Reply
#3
Worked great just didn't need it on the y positioning.

Thanks for the reply!
Reply

Logout Mark Read Team Forum Stats Members Help
Text align right question0