align images in lists
#1
in a list control should this not center align both the list and the focused item?
I got it in my head I used to do it like this but im not sure, im playing on the jarvis beta, they seem to be top and left aligned no matter what i do, I know I can correct it using top and left but im confused as to if this should work?
I know it works in a label control but not so sure now about image
Code:
    <control type="fixedlist" id="701">
      <description>BigPoster Wraplist</description>
      <viewtype label="fixedlist">list</viewtype>
      <orientation>horizontal</orientation>
      <pagecontrol>61</pagecontrol>
      <focusposition>1</focusposition>
      <onup>9000</onup>
      <ondown>61</ondown>
      <onleft>701</onleft>
      <onright>701</onright>
      <left>-200</left>
      <top>0</top>
      <width>2320</width>
      <height>1080</height>
    <itemlayout width="300" height="600">

    <control type="image">
        <left>0</left>
        <top>0</top>
        <width>280</width>
        <height>420</height>
        <aligny>center</aligny>
        <align>center</align>
        <texture background="true">$VAR[PosterImage]</texture>
    </control>
    </itemlayout>
    
    <focusedlayout width="300" height="600">
    <control type="image">
        <left>0</left>
        <top>0</top>
        <width>380</width>
        <height>570</height>
        <aligny>center</aligny>
        <align>center</align>
        <texture background="true">$VAR[PosterImage]</texture>
        </control>
    </focusedlayout>

please forgive me if the answer is obvious!
Reply
#2
I'm actually on my mobile and not sure what you're exactly want to achive, but I think that alignment for images are made from the
<texture /> tag, for example:
Code:
<texture background="true" align="center" aligny="center">$VAR[PosterImage]</texture>
Phenomenal™ Skin • ForumWebsiteGitHub
Reply

Logout Mark Read Team Forum Stats Members Help
align images in lists0