| |||||||
| Skins You are working on a new Skin? Post it here! |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Designer | Hi, spuck and I are trying to create an xml file for the xface skin and the tv-series plugin. We'd like to utilize a thumbnail panel to display seriesbanners. All works well, see screenshot below: Screenshot with 3x3 grid that works as it should However the problem arises as soon as a we make the thumbnailpanel high enough, so that more rows than columns fit. So the grid of NxM items works well as long as n<=m, which means the 3x3 grid in the screenshots works, while a 4x3 (or what we'd like, a 5x3) grid does not. The problems is that the items are there, except rows below the M's row (M being the number of columns) they do not get rendered, but you can still select and interact with them (for instance the selected item's skin property gets updated (as in the screenshot in the thread below). Screenshot in modified xface my videos page displaying a 4x3 grid incorrectly. I have also tested this independend of the tvseries plugin, by simply altering some xml of the xface skin's video page. See the thread below for more details. It leads me to believe that this could be a bug/limitation of the thumbnailpanel, that I believe has been around for a while. But since usually there are more rows than columns (TVSeries is differente because the banners that are eing displayed are very wide but not very high), I believe very few people if any have so far run into this. I do not know of any skin/page where there are more rows than columns being displayed (are there?). Thread with sample Xface Skin Version 1.6 ready for download 09.06.2008 There is also a bit of discussion about it in the general xface thread, starting here http://forum.team-mediaportal.com/sh...&postcount=500 What I'd like is someone to confirm my observations (and conclusions) - or tell me I'm an idiot - and perhaps ask if a dev could look into this "issue". If it turns out to be correct it's probably just a loop that gets exited too quickly because the assumption was made, either by mistake or on purpose, that there are always more columns than rows. Thank you Inker
__________________ There are only two industries that refer to their customers as "users". - Edward Tufte Last edited by Inker; 2007-10-11 at 15:08. |
| | |
| | #2 (permalink) |
| Portal Designer Join Date: May 2004 Location: Germany
Posts: 1,132
Thanks: 177
Thanked 291 Times in 75 Posts
Country: | Hi Inker, i think you are right, have test it and have the same result like you, does not work with 3 items and 5 rows. Will have a talk with the devs about it. b.t.w. ...looks great the screenshots for xface Harley
__________________ http://www.mediaportal-skins.net |
| | |
| | #4 (permalink) | |
| Portal Member Join Date: Apr 2005 Location: Southeast Age: 36
Posts: 606
Thanks: 6
Thanked 35 Times in 24 Posts
Country: | Quote:
I do not know if you are still looking for an answer here but I think the bug is in GUIThumbnailPanel.cs about line 578 in the Render method. I think this: Code: RenderItem(timePassed, iRow * _rowCount + iCol, bFocus, dwPosX, dwPosY, pItem, i == 0); Code: RenderItem(timePassed, iRow * _columnCount + iCol, bFocus, dwPosX, dwPosY, pItem, i == 0); Using _rowCount causes the button number to go over the actual number of buttons available. Screenshot is using the sample you suggested changing common.facade.video.xml HTH, patrick
__________________ US/Canadian/Mexico EPG Schedules Direct Plugin http://forum.team-mediaportal.com/sh...ad.php?t=26951 US EPG CT TV Listings Plugin http://forum.team-mediaportal.com/ct...in-t29332.html Basic Home Automation via xAP BSC enabled devices http://forum.team-mediaportal.com/sh...ad.php?t=13929 US/Canadian/Mexico EPG Zap2it Plugin http://forum.team-mediaportal.com/zap2it-discontinued-166/original-thread-us-canadian-mexico-epg-zap2it-plugin-released-8278/ | |
| | |
| This User Say Thank You: |
| | #5 (permalink) | |
| Portal Member Join Date: Apr 2007 Location: north pole Age: 21
Posts: 326
Thanks: 12
Thanked 51 Times in 29 Posts
Country: | Please do add it to the next SVN! ![]() Quote:
![]()
__________________ Rate and download MP-TVSeries FanArt here. Get Fan Art from TheTVDB.com instead. http://forum.team-mediaportal.com/streamedmp-301/ | |
| | |
| | #6 (permalink) | ||
| Portal Designer | Quote:
__________________ There are only two industries that refer to their customers as "users". - Edward Tufte | ||
| | |
| | #7 (permalink) |
| Portal Member | So, patience is not one of my virtues and I am really excited to get 5 rows working. I haven't compiled the SVN before so I am not sure my logic is sound, but I am at work right now and recompiled core.dll with the patched line by patrick. Can we just copy this over the current core.dll and have it work? I'll test it when I get home tonight, but if anyone else is feeling adventurous I'll attach the core.dll here. |
| | |
| | #10 (permalink) |
| Portal Member Join Date: Jan 2007
Posts: 62
Thanks: 6
Thanked 1 Time in 1 Post
Country: | Looks amazing, big thank you to everyone involved in making this happen. [Edit] I increased the height of the thumbnail panel so the rows of banners would be spread apart more. Now that I have more space between rows, does anybody know how to make the blue border around a selected banner bigger? Last edited by WalkmanAA; 2007-10-15 at 00:55. |
| | |
![]() |
| Bookmarks |
| Tags |
| columns, rows, thumbnailpanel |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to create own (dynamic) thumbnailpanel? | eightyf | Plugins | 7 | 2007-07-16 18:46 |
| How did this happen? - Reflections disappear within a thumbnailpanel | eightyf | Skins | 12 | 2007-07-01 12:20 |
| Less rows in EPG to allow bigger fonts | gemini | Skins | 8 | 2006-09-26 21:05 |
| Adjustable Columns, and why is all text cutoff? | havix | MediaPortal 1 Talk | 3 | 2006-09-20 20:06 |
| Number of rows in pictures modules | Anonymous | Improvement Suggestions | 2 | 2004-04-26 17:13 |