Author Topic: Skinning questions  (Read 9120 times)

0 Members and 1 Guest are viewing this topic.

Offline trumpy81

  • User
  • ***
  • Posts: 31
    • View Profile
Skinning questions
« on: November 17, 2010, 07:54:19 am »
I have a question though, in the current skin .xml files, are comments allowed? and if so what is the correct syntax?

I'm hoping that one of the improvements would be the layout of the skin .xml files. At present it is difficult to distinguish which element is which.

Perhaps each element could be named EG:

<Element Poster>
  <size></size>
  <position></position>
  etc...
</Element>

<Element Information>
  <size></size>
  <position></position>
  <font></font>
  etc...
</Element>

That would definitely aid in skin design.

One problem that I have noticed in PVD 1.0.0.0 is the photo toolbar. The one that appears when you mouseover a poster. It still shows random background images behind the buttons.
« Last Edit: November 17, 2010, 08:21:08 am by rick.ca »
Regards
Andy M

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Skinning questions
« Reply #1 on: November 17, 2010, 08:33:34 am »
I'm not sure whether there's a valid feature request here or you just need some support, but I've move this here (and removed some inappropriate remarks) because it has little to do with feedback on the new interface.

If you're having trouble making sense of the skin files, I recommend using an XML editor like XML Notepad. In particular, it makes it very much easier to follow the structure of the XML file, and do things like add comments (or convert elements to comments) without worrying about getting the syntax right.

Quote
One problem that I have noticed in PVD 1.0.0.0 is the photo toolbar. The one that appears when you mouseover a poster. It still shows random background images behind the buttons.

This is a known issue. Just because something like this appears in the preview doesn't mean it's been forgotten. Even if it has, there will be plenty of opportunities to report such things once a beta is released.

mgpw4me@yahoo.com

  • Guest
Re: Skinning questions
« Reply #2 on: November 17, 2010, 02:36:54 pm »
Comments are allowed in the standard HTML format:

Quote
<!--Comment Here-->

Offline trumpy81

  • User
  • ***
  • Posts: 31
    • View Profile
Skinning questions
« Reply #3 on: November 18, 2010, 10:53:55 am »
The current skinning system for information pane will stay and will be improved.

Nostra, for a minute there I thought you'd gotten hold of some bad weed or something ...  I'm glad that that's not the case ;D

I'd like to see the skin .xml file layout improved. At present it is difficult to find each of the elements. Could you perhaps add a title to each element group?

EG:

<Element Poster>
<border></border>
<position></position>
<size></size>
etc...
</Element>

<Element Information>
<font></font>
<position></position>
<size></size>
etc...
</Element>

This would definitely aid the design of new skins etc...

Also, I have a question regarding the current skin .xml files. Are comments allowed? if so, what is the correct syntax?
Regards
Andy M

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Skinning questions
« Reply #4 on: November 18, 2010, 04:25:00 pm »
Quote
At present it is difficult to find each of the elements. Could you perhaps add a title to each element group?

EG:

<Element Poster>
<border></border>
<position></position>
<size></size>
etc...
</Element>

<Element Information>
<font></font>
<position></position>
<size></size>
etc...
</Element>

I do not get it: what is the big difference between <poster> and <Element Poster>???

Quote
Also, I have a question regarding the current skin .xml files. Are comments allowed? if so, what is the correct syntax?

Comments are allowed. The standard XML syntax should be used: <!--This is a comment -->
Gentlemen, you can’t fight in here! This is the War Room!

Offline trumpy81

  • User
  • ***
  • Posts: 31
    • View Profile
Re: Skinning questions
« Reply #5 on: November 18, 2010, 11:40:46 pm »
I do not get it: what is the big difference between <poster> and <Element Poster>???

Nostra, firstly my apologies for the double post. I thought the original post had not been received and I was unaware that it had been moved to this thread.  ???

Code: [Select]
<column>    
    <medialabel/>
<spacer width="9"/>
   </column>
  </row>
  <row>
   <column width="120" halign="right">
    <fieldlabel field="location"/>
   </column>
   <column>
    <location/>
<spacer width="9"/>
   </column>
      </row>
</section>
</column>

Instead of the above code, I would like to see something like this:

Code: [Select]
<column medialabel>    
  <spacer width="9">
</column>
</row>
<row>
<column width="120" halign="right" fieldlabel="location">
</column>
<column location>
  <spacer width="9">
</column>
</row>
</section>
</column>

Is there any reason for the trailing / ?
Regards
Andy M

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Skinning questions
« Reply #6 on: November 21, 2010, 07:13:22 pm »
It can't be done the way you want as one column can contain multiple fields.

Quote
Is there any reason for the trailing / ?

Of course, it is XML specification!
Gentlemen, you can’t fight in here! This is the War Room!