NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 19 20 21 22 23 … 93 Next »
Changing skin font or colour

 
  • 0 Vote(s) - 0 Average
Changing skin font or colour
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#31
2010-07-23, 02:20 PM
Setting the text to "" or string.Empty is fine if you are not repositioning anything. The visible attribute is really just if you want two different ways of displaying something depending on the data available. For instance:
Code:
<Image visible="@hasImage" source="@previewImage" location="7,7" size="86,86" fixedAspectRatio="true" />
<Image visible="!@hasImage" source="SomeDefaultImage.jpg" location="7,7" size="86,86" fixedAspectRatio="true" />

This would display an image loaded in code if you have "ListObject["@hasImage] = true" or it would display the default image if you have "ListObject["@hasImage"] = false". Another usage is if you are displaying an image + text in an area and you don't have text for a specific item, you can make the image for that item larger to fill up the space where the text would normally have shown (like a video file with no metadata).

I hope that made sense, I'm not that good at explaining sometimes.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4


Possibly Related Threads…
Thread Author Replies Views Last Post
  Skin help (correct location?) SFX Group 4 3,942 2018-01-24, 07:42 AM
Last Post: pBS
  skin question pBS 2 3,379 2016-06-18, 07:03 PM
Last Post: pBS
  Skin - view further into the future, scale the guide Vitenka 5 3,367 2014-11-26, 07:28 PM
Last Post: Vitenka
  Changing the recording priority on recurring recordings cbgifford 4 3,880 2014-08-17, 03:13 PM
Last Post: Kiwi
  Skin element Details in NowNext Jaggy 2 1,834 2011-09-19, 11:50 PM
Last Post: Jaggy
  Changing recording schedules on the fly. mvallevand 2 1,974 2011-09-06, 03:30 AM
Last Post: BrettB
  Skin Help with Line Drawing Northpole 2 1,977 2011-07-19, 05:14 PM
Last Post: Northpole
  Anyone interested in developing a Skin Plugin? Hairy 13 5,160 2011-07-10, 04:13 PM
Last Post: mvallevand
  Skin help needed for EventDetails.xml bgowland 7 3,432 2011-06-26, 11:55 PM
Last Post: Jaggy
  A list of changing images McBainUK 1 1,894 2011-06-21, 04:36 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode