SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-09-2005, 04:43 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Exclamation Theme help!!!!

I've been inspired, I'm trying to redo the main menu, but right now I've run into a bit of a snag. I've got an item that I'm trying to put a couple of text widgets in, and the problem is that the text widgets seem to be getting "themed", but I can't figure out where from.

Why does the subpannel not fill the Item widget?
Attached Images
File Type: jpg wtf.jpg (177.1 KB, 549 views)
Reply With Quote
  #2  
Old 11-09-2005, 04:51 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Alright, I suppose some ascii art to illustrate what I want.

I'm trying to build an item widget like this:
Code:
-------------------------------------------
| Text goes here                          |
|-----------------------------------------|
|Picture| More text here                  |
|-----------------------------------------|
|                                         |
-------------------------------------------
Problem is anything inside the Item widget (except shapes) won't go all the way to the left.
Reply With Quote
  #3  
Old 11-09-2005, 04:57 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
w/o looking at the actual code... how is the themed Item defined? You are adding a full-width panel to every item that the theme applies to, but the item itself may not have a defined width.

Edit -- Oh, I see. Check the Item's insets.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #4  
Old 11-09-2005, 05:06 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
You should be able to use the UI Component view and then find the text widget in there and then right-click on it to get an option to view the Themed widget for it. This was one of the debugging features I added.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #5  
Old 11-09-2005, 05:34 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Very cool, didn't know that...

OK, so how do I override it? It's pulling the theme from MainMenuTheme ItemTextTheme text widget. I tried putting a Text widget in my Item them, but even that get's themed by the MainMenuTheme.
Reply With Quote
  #6  
Old 11-09-2005, 05:46 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
If you add a text widget to the item in your theme, then you will add a text widget to each item on the screen. If you want to theme the item's text, then you have to put a text widget under a theme widget.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #7  
Old 11-09-2005, 06:10 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
OK, here's the Item code:
Code:
Item (Item Widget)
\if GetElement(MenuItems, LastIndex)
-\branches to navigate pages
-\GetElement(MenuItems, LastIndex)
--\Untitled (text widget)
No matter what I do, I can't move that text all the way to the left.
Reply With Quote
  #8  
Old 11-09-2005, 06:25 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Did you check the "Insets" widget property that I mentioned above? I'm guessing that the themed Item uses Insets, like the default STV does.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #9  
Old 11-09-2005, 06:28 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
I feel like an idiot.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 12:58 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.