XML code help !! (1 Viewer)

cinemasid

Portal Member
February 3, 2006
6
0
right im a newbie with the skinning process and xml, i started with the media portal editor but struck problems when editing whole controls would disappear, doing much better by editing xml code.

new thread for all us newbies to ask questions and hopefully progress and get some good lookin skins out there.

can anyone help with the code for moving a "group" its the group that contains a facadeview then listcontrol and thumbnails inside in my music, i can't work out the code to move it i have tried <posx> and <posy> in mymusicsongs and common.facade but to no eveil.

currently working on an Eva skin asin longoria, thanks for any help in advance

p.s. if anyone posts code can you comment it so i can get the hang of the language
 

Boilermaker

Retired Team Member
  • Premium Supporter
  • May 21, 2004
    519
    3
    Don't know about the default skins, but I used <posX> and <posY> in reference.xml to position list controls. Since almost every list control in the skin i use is positioned in the same spot, setting their position in reference.xml made more sense, since its used by every skin file. The code would look something like this:

    <control>
    <description>default listcontrol</description>
    <type>listcontrol</type>
    <id>10</id>
    <posX>400</posX>
    <posY>97</posY>
    <width>820</width>
    <height>576</height>
    ...

    I tried to use reference.xml to define as many values as possible in order to make standardize things. Besides making it easier for all my screens to be formatted consistently, it also allows me to change things faster.
     

    cinemasid

    Portal Member
    February 3, 2006
    6
    0
    Thanks for your help its solved

    i did do a typo with the posX coding but that was fine for positioning other controls, its the reference.xml that did it, i didn't know about this file as i was basing it on mediaportal editor.

    thanks for taking the time guys.
     

    Boilermaker

    Retired Team Member
  • Premium Supporter
  • May 21, 2004
    519
    3
    welcome...mofux caught the obvious that i didn't....

    Using reference.xml well saves time in the long run, but you can still define position (or any tag) in individual xml files also. For example, if you have a listcontrol you want in a different spot on just one page, then using posX and posY on that page overrides the values you used in references.xml
     

    Users who are viewing this thread

    Top Bottom