Posts: 201
Joined: May 2010
Reputation:
4
Hi, I'm looking for a skilled coder who's willing to answer me a question every now and then.
I guess I could create a new thread each time I face an issue, but I'd rather keep this place clean.
If anyone's up for it, just drop me a PM.
Posts: 15,263
Joined: Jan 2009
Reputation:
727
ronie
Team-Kodi Member
Posts: 15,263
i'd say drop you're questions in here,
that way a lot more people may benefit from the answers you get.
and don't be afraid to open a thread or two,
that's what all do, so why shouldn't you. :-)
Posts: 1,617
Joined: Jul 2009
Reputation:
11
I agree. Open em up. That way, we can all find out the answer.
Speaking of which, Ronie, you cant help me figure out that cdart issue from yesterday?
To learn more, click
here.
Posts: 15,263
Joined: Jan 2009
Reputation:
727
ronie
Team-Kodi Member
Posts: 15,263
to avoid thread jacking, i'll get back at you over there ;-)
Posts: 201
Joined: May 2010
Reputation:
4
Alright, I have a wraplist with multiple unfocused movie posters and one focused poster.
Now I wanted to put a glow texture behind/around the selected poster, which was very easy to do.
But I wasn't quite happy with it's size (due to zooming), so I played around with the settings.
When I moved the glow texture up a fair bit I noticed that it got cut off.
Out of curiosity I started messing with the movie poster's "posy" value and could reproduce the same behavior.
The images get cut off where the unfocused posters end.
I thought it might have something to do with either the focusedlayout or itemlayout tags or the wraplist's height tag.
But they're all set to 1080 pixels, so there's no obvious reason for the cropping.
I'd appreciate if someone could tell my why this is happening.
Posts: 1,234
Joined: Nov 2008
Reputation:
5
It is probably the height of the focused item layout. It is probably set lower than the height of the glow.
Posts: 17,390
Joined: Aug 2007
Reputation:
584
Hitcher
Team-Kodi Member
Posts: 17,390
Are you zooming it more than there dimensions?
Pastebin the code.
Posts: 1,234
Joined: Nov 2008
Reputation:
5
The zoom started 100 and ends at 120. The size of his glow png is probably too large as well.
I am pretty sure he is using the view I coded.
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
You set the y of the wraplist to 496 and then the y of the image to -200, so it's real y coordinate is at 296 which is outside the wraplist... that should be your problem.