NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 12 13 14 15 16 … 93 Next »
Single row horizontal list in popup?

 
  • 0 Vote(s) - 0 Average
Single row horizontal list in popup?
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#1
2011-09-28, 08:03 PM
Is this possible? In a popup I want to have a list with a single row that scrolls to the left and right (kind of like a "covers view" but selection like a normal list).
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#2
2011-09-28, 08:13 PM
You should be add a UIList, in the HORIZONTAL_ICON mode, but in the skin file's "IconView" element, set the number of rows to 1. It'd look like the horizontal icon view you get in the video/music/photo library. These screens show it as a 7x3 grid (at least in the default skin it does), but there is no reason your couldnt use it as a grid with only one row.
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#3
2011-09-28, 08:39 PM
What do you use for the element names in the UiList constructor for the icon view, "IconView" and "IconItem"? I can't get the list to show up at all but I can with the standard list view using "ListView" and "ListItem"?
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#4
2011-09-28, 08:49 PM
You should be able to something like this:

uiList = new UiList(this, "View", "Item", new Hashtable(), skinHelper, UiList.ViewMode.HORIZONTAL_ICON);

Any it'll look for the same element names as you see in C:\Users\Public\NPVR\Skin\Default\Videos\videos.xml, ie "IconView", "IconItem" etc.
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#5
2011-09-28, 09:48 PM
Works great - thanks.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Channels List by Channel Group Name scJohn 1 2,763 2018-01-05, 10:45 PM
Last Post: mvallevand
  Channel List (native controller) psycik 2 3,058 2017-06-19, 09:14 AM
Last Post: psycik
  Possible to have another element in details-single.xml Northpole 2 2,203 2014-07-11, 09:51 PM
Last Post: Northpole
  List of "IEventNotification" events? reven 8 3,356 2012-11-01, 10:56 PM
Last Post: reven
  Building a list of files in media folders (npvr Music and Videos) bgowland 2 1,863 2012-02-05, 10:29 AM
Last Post: bgowland
  Update NewSyleListPlugin Button list dynamically? psycik 2 1,730 2011-12-22, 12:25 AM
Last Post: mvallevand
  Add another element to the horizontal main menu Northpole 7 2,848 2011-08-25, 06:18 PM
Last Post: imilne
  A list of changing images McBainUK 1 1,846 2011-06-21, 04:36 PM
Last Post: sub
  Multiple views for a single list imilne 18 5,422 2011-04-22, 11:06 PM
Last Post: sub
  Skin question - how to centre a list UiList control on screen? McBainUK 2 1,832 2011-02-17, 08:46 AM
Last Post: McBainUK

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

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

Linear Mode
Threaded Mode