| |||||||
| Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: May 2007 Location: Herts
Posts: 16
Thanks: 2
Thanked 3 Times in 2 Posts
Country: | Hi All, I've started writing a MyFootball plugin which will eventually show results, fixtures, tables, etc for all the major leagues. Heres my first attempt (only results for english leagues at the moment) but I'm having problems displaying the layouts for the scores. Ideally I would want team1 in one column (right aligned), the score in another column (center aligned) and team2 in another column (left aligned). At the moment I'm storing the whole string in a textbox with "\n" and "\t" doing the formatting. Adding three seperate text boxes side by side results in having three seperate spincontrols. Anyone got any ideas? Cheers, no1spirite Last edited by no1spirite; 2007-10-06 at 14:13. |
| | |
| | #2 (permalink) |
| Portal Member Join Date: May 2007 Location: Herts
Posts: 16
Thanks: 2
Thanked 3 Times in 2 Posts
Country: | Just an after thought. Can this be done using a gridcontrol? Theres not much documentation on this control so can someone point me in the way of an example. Cheers, no1spirite |
| | |
| | #3 (permalink) |
| Portal Member Join Date: May 2007 Location: Herts
Posts: 16
Thanks: 2
Thanked 3 Times in 2 Posts
Country: | Still nothings guys?! I've tried creating a group with gridlayout Code: <control> <type>group</type> <layout>GridLayout(3, 0)</layout> <posX>255</posX> <posY>170</posY> <id>16</id> ..... ..... Code: [SkinControlAttribute(16)] protected GUIGroup newGroup = null; ..... ..... GUILabelControl newLabel = new GUILabelControl(GetID, ......); newGroup.Children.Add(newLabel); Thanks in advance [EDIT] I go it. I wasn't including the Control.Visible method [/EDIT] Last edited by no1spirite; 2007-10-06 at 02:32. |
| | |
| | #4 (permalink) |
| Portal Member Join Date: May 2007 Location: Herts
Posts: 16
Thanks: 2
Thanked 3 Times in 2 Posts
Country: | For anyone who is interested on the progress of this plugin I've also added the league table listings and results for the following leagues. English Premier League English Champions League English League One English League Two Spanish La Liga German Bundesliga Italian Serie A Dutch Eredivisie Portuguese Liga French Ligue 1 I've also included the results for the Champions League and Uefa Cup but no leagues as yet, Next steps: 1) Add fixture listings 2) Add more leagues (Austrian, Belgium, Scottish, Norway, etc) 3) Add scorers, bookings and sending offs to the results 4) Add internationals Let me know if anyone has got any ideas for other things to add. I know it's not pretty (especially in widescreen) but I'll concentrate on the cosmetics once I have the functionality. Also, I'm still struggling with the layout. Each element (team, score, games played, points, etc) is displayed in its own individual label that's created on the fly. This cause a problem with not being able to scroll down the page if elements go beyond the bottom of the screen (see the UEFA cup results as an example). Anyone got any ideas of pure genius on how I can layout the elements? I'll keep you posted. P.S I wish someone would say something. It's getting lonely in this thread all alone ![]() Last edited by no1spirite; 2007-10-06 at 02:28. |
| | |
| This User Say Thank You: |
| | #5 (permalink) |
| Portal Designer ![]() Join Date: Apr 2006 Location: Hertfordshire, England Age: 34
Posts: 918
Thanks: 243
Thanked 285 Times in 86 Posts
Country: | Something . Developing and maintaining plugins / skins for MP can be lonely sometimes. Keep up the good work. If only it was rugby and not football, come on South Africa RWC2007!!!
__________________ If you think you've found a bug in my Indigo/Monochrome/ReVision/Replicant skin, please post whether occurs using the Blue Two wide skin... Download Indigo/Monochrome/ReVision/Replicant |
| | |
| | #7 (permalink) |
| Portal Member Join Date: May 2007 Location: Herts
Posts: 16
Thanks: 2
Thanked 3 Times in 2 Posts
Country: | Is anyone else having the same probs as Vattenmelon? In the meantime, I have added the rugby results just for you Psycho. Good exercise to see how easy it is to port across to other sports. Maybe I should call it 'MySportsScores' or something. Anyways, you boys have an easy route to the finals. Fiji then Scotland or Argentina. Come on, how easy do you need it. C'mon England (although we aint got a chance). Last edited by no1spirite; 2007-10-06 at 14:17. |
| | |
| | #10 (permalink) | |
| Portal Designer ![]() Join Date: Apr 2006 Location: Hertfordshire, England Age: 34
Posts: 918
Thanks: 243
Thanked 285 Times in 86 Posts
Country: | Quote:
, although I haven't had a chance to try your plugin yet .So much for the easy route to the filal, well tried Fiji!!!
__________________ If you think you've found a bug in my Indigo/Monochrome/ReVision/Replicant skin, please post whether occurs using the Blue Two wide skin... Download Indigo/Monochrome/ReVision/Replicant | |
| | |
![]() |
| Bookmarks |
| Tags |
| layout, myfootball |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Question about layout | mfwilli | My Films | 1 | 2007-05-18 07:55 |
| Changing EPG layout | Rob755 | WebEPG | 0 | 2006-10-30 14:27 |