NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 26 27 28 29 30 … 93 Next »
settings menu list box

 
  • 0 Vote(s) - 0 Average
settings menu list box
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#1
2009-01-19, 06:11 AM
The format of the settings menu looks like a list with two columns which I want to use for Burndvdx2. Is there an easy way to get text right and left justified in a list?
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#2
2009-01-19, 08:50 AM
You can use align="Left" and align="Right" in a <DrawText> node in the skin file.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#3
2009-01-19, 04:57 PM
McBainUK Wrote:You can use align="Left" and align="Right" in a <DrawText> node in the skin file.

Sorry wasn't too clear, I want text on the left side of the box and then another value on the right, like the settings menu of sub's. I sort of remember a demo app that showed two values in a list box, but I don't really see how I would get that. I don't want to just space it out, since the number of characters changes with font, aspect etc.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#4
2009-01-19, 05:17 PM
I'm not sure I see the complication here. Can't you just pass 2 arguments to the list box item and have one aligned left and one aligned right in the skin file.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,686
Threads: 767
Joined: Nov 2003
#5
2009-01-19, 05:17 PM
It is like McBainUK says above, just two strings, one left aligned, one right aligned.
Code:
<DrawText text="@name" loc="3,5" size="95,50" textStyle="GeneralTextHeaderStyle" align="Left"/>
      <DrawText text="@value" loc="3,5" size="95,50" textStyle="GeneralTextStyle" align="Right"/>
« 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,768 2018-01-05, 10:45 PM
Last Post: mvallevand
  Channel List (native controller) psycik 2 3,066 2017-06-19, 09:14 AM
Last Post: psycik
  List of "IEventNotification" events? reven 8 3,366 2012-11-01, 10:56 PM
Last Post: reven
  Best way to load settings for NPVR? reven 4 2,144 2012-11-01, 01:13 AM
Last Post: reven
  Building a list of files in media folders (npvr Music and Videos) bgowland 2 1,864 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
  Where and how are plugin settings done now? psycik 5 2,194 2011-11-16, 07:17 PM
Last Post: mvallevand
  Single row horizontal list in popup? cncb 4 2,174 2011-09-28, 09:48 PM
Last Post: cncb
  Settings config screen for class IEventNotification plugin imilne 9 3,468 2011-09-17, 06:06 PM
Last Post: sub
  Add another element to the horizontal main menu Northpole 7 2,861 2011-08-25, 06:18 PM
Last Post: imilne

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

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

Linear Mode
Threaded Mode