[mythtv] UIManagedTreeListType

thor mythtv at lamedomainname.com
Sat Nov 29 22:07:31 EST 2003


On Saturday 29 November 2003 21:59, Robert Currey wrote:
> I'm still stuck ...
>
> I completely switched the code to use the music-ui theme (elminating
> my theme from the equation), same problem .... 

	It would help if you could post the code your writing. You may be doing 
something slightly wrong with the MythThemedDialoge class (?).

> no border around the
> second bin (or the "selected" item in the first bin).

	There's some code in libmyth that is commented out that will draw red 
borders around the outside edges of the bins. See the draw() method of 
UIManagedTreeList, right near the end. That will at least help you 
figure out some of the geometry.


>
> So, it can't be the theme right? Would the order at which node's are
> added matter? At this point the only diff I can see is that mythmusic
> does the addNode's when its timer expires, and I'm doin them at
> creation...

	I doubt it's a problem with ManagedTreeList, as all it really does is 
draw text inside "bins". The draw() routine is a real mess, however, so 
it's not impossible.

- thor




More information about the mythtv-dev mailing list