NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 10 11 12 13 14 … 93 Next »
Element explanations?

 
  • 0 Vote(s) - 0 Average
Element explanations?
PatM
Offline

Member

Posts: 84
Threads: 31
Joined: Mar 2012
#1
2012-03-12, 01:44 PM
I'm just trying to modify the default skin a bit - bigger fonts mostly. I'm playing with the videos list and I've got the bigger fonts and wider listview but I can't seem to figure out how to shrink the cover art viewing area, mostly because I don't know which part of the XML file describes it.

Is there a faq somewhere that says what the different elements are for? I figured out the three folder/item views for the most part but the rest is evading me.

Thanks!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2012-03-12, 03:33 PM
Sorry, there is no documentation that describes each of the elements. Most of it's pretty straight forward though.

Which cover art are you talking about exactly though? There is a few different places in the app that show it. If you post a screen shot of the cover art you want to change, I'll point you in the right direction.
PatM
Offline

Member

Posts: 84
Threads: 31
Joined: Mar 2012
#3
2012-03-12, 04:01 PM
Basically I want to shrink the black preview area to leave more room for the listview entries. I find changing "default" to 20 point makes the list visible from across the room (old folks here 8). At 20 point the text descriptions aren't showing enough so I widened the listview but that overlaps the black preview area. The attachment doesn't have the listview widened, just the larger font set in global.

Eventually I want to make the listview items taller and wider for readability.

Normally I just look at existing code and google to figure things out but I'm having a hard time getting started with this.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#4
2012-03-12, 04:10 PM
These changes would be in C:\Users\Public\NPVR\Skin\Default\Videos\videos.xml

To reduced the size of the box used for displaying metadata and cover art you'd want move the ListSelectionMetaData element further right, and decrease it's width by changing these highlighted values:

<Element name="ListSelectionMetaData" location="38,15.45" size="61.8,69.1" ....

To make the list elements wider, you'd want to increase these values:

<Element name="ListItemNormal" location="0.77,15.45" size="35.89,4.64"
<Element name="ListItemSelected" location="0.77,15.45" size="35.89,4.64"

If you wanted to increase the height of each row, you'd need to also increase the 4.64 to something bigger. To do this though, you'd also need to decrease the number of visible rows:

<Element name="ListView" location="0,12.36" size="100,75.28" alpha="255" alphaFade="true" visibleRows="14">
Backup whatever changes you make though, because they'll be overwritten next time you upgrade the software.
PatM
Offline

Member

Posts: 84
Threads: 31
Joined: Mar 2012
#5
2012-03-12, 04:31 PM
AHA! I was ignoring the metadata lines because I thought that would only have to do with showing the cover image.

Thanks for the tips! I've got it nice and readable now.
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#6
2012-03-12, 05:00 PM
What rule does the NPVR installer follow regarding things like modified skin files? Always overwrite? Meaning make sure you have backups of anything locally modified before updating?

Iain
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#7
2012-03-12, 05:02 PM
Yes, it should overwrite any modified files, so as mentioned above - you'd need to backup these types of changes. The only files that get special treatment are config.xml and npvr.db3.
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,624
Threads: 148
Joined: Mar 2006
#8
2012-03-12, 05:52 PM
PatM: it may pay to have a look at this visibility enhanced skin (link below) that I dev'ed a while back even if it's only as a comparison for modifying your own skin

http://www.nextpvr.com/nwiki/pmwiki.php?...lueRetroVE
PatM
Offline

Member

Posts: 84
Threads: 31
Joined: Mar 2012
#9
2012-03-12, 09:30 PM
I grabbed that one already Jaggy. Going to look at it for the TV guide as I can't see how to change the actual TV Show font and reduce the number of hours shown. I would have had at it already but the power was out for several hours - big windstorm here.
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#10
2012-03-12, 09:43 PM
You can reduce the number of hours shown - up to a point anyway - by using the Settings dialog within NPVR itself.

Iain
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Possible to have another element in details-single.xml Northpole 2 2,188 2014-07-11, 09:51 PM
Last Post: Northpole
  GetRenderList() always called with "block-extras..." element in renderlist alibert 1 1,593 2012-06-18, 10:24 AM
Last Post: sub
  Skin element Details in NowNext Jaggy 2 1,772 2011-09-19, 11:50 PM
Last Post: Jaggy
  Add another element to the horizontal main menu Northpole 7 2,804 2011-08-25, 06:18 PM
Last Post: imilne
  Actual size of inner element in NPVR scb147 2 1,735 2010-11-02, 06:40 PM
Last Post: scb147
  TV Guide Element Render order Northpole 0 1,273 2010-10-24, 04:11 PM
Last Post: Northpole
  How do you use skinHelper.getNamedImageElementPos(name,element) ?? JavaWiz 6 2,219 2007-05-19, 08:28 AM
Last Post: McBainUK
  DrawImage element within CompositeImage Brian_W 3 1,818 2006-08-02, 07:05 PM
Last Post: Fatman_do
  ? on Clock element Torque 2 1,401 2005-03-14, 05:31 PM
Last Post: Torque

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode