[Mod] Horizontal Home Menu + Sub Menus - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67) +---- Forum: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125) +---- Thread: [Mod] Horizontal Home Menu + Sub Menus (/showthread.php?tid=74180) |
[Mod] Horizontal Home Menu + Sub Menus - psyomega - 2010-05-19 Hello. As the title stats this is a modification to the Home Screen to get a home menu more like the Rapier skin. 99.999999% of the credit should go to yiarkyiark and his Mod Influence ( http://forum.xbmc.org/showthread.php?tid=70612 ). This is a cut + paste job of his code for the horizontal main menu, with minor modifications by me to get some funky sub-menu crap and the overall layout as shown in the screens below. This only modifies the home screen. All the other screens will have that annoying sidebar menu. I have no effing clue what this looks like on other displays, and I'm willing to bet my left nutsack that something in the layout is probably going to be off/not align/etc. I based the layout adjustments on how they looked on a crappy 17" 4:3 monitor, so there's bound to be *@3##$ when you're viewing the results on your orgasmic 50" WS PDP. Make whatever tweaks you want to the .xml file. If you ask me [insert random code question here ] I'm not going to remember and if even a little bit of time has passed I will probably be just as clueless as you. I got sidetracked on this project after having to reinstall XBMC + rebuilding my library and ended up spending Waaaaaaaaaaaaay too much time on this :p I uploaded the Home.xml file to RS for those who want to dl it. Just backup/rename your current vanilla Home.xml file and replace it with this one: http://rapidshare.com/files/389036666/Home.xml - hugenx - 2010-05-21 Nice one! Just one question. What font are you using? My text on the horizontal menu seems to get really small.... - psyomega - 2010-05-21 hugenx Wrote:Nice one! Just one question. What font are you using? My text on the horizontal menu seems to get really small.... For the Main menu its font45caps_title, as defined in the Font.xml If you want to change it, edit lines 894 and 868 on your Home.xml For the sub-menu stuff, its font10caps_title. If you want to change the subtitle font, you have to go through and look for: Code: <control type="grouplist" id="9xxx"> Code: <control type="grouplist" id="9010"> is on line 408. You then start scrolling down and will see Code: <control type="button" id="90101"> Keep scrolling down and you will eventually see Code: <control type="button" id="90102"> Keep scrolling down and you will see id="90103", etc., essentially a listing for all of the sub menu categories. To change the font, just change font10caps_title to whatever you want or define a font in font.xml and then just use that name when you are defining the button font in your home.xml. You'll find the Code: <control type="grouplist" id="9xxx"> on lines 408,484,560,615,695, and 757 Just go to each one and start scrolling down, changing every button font to whatever you want look at this thread http://forum.xbmc.org/showthread.php?tid=67307 if you already haven't and follow Hitcher's steps to create a xml file to set the F5 button to refresh the skin. That way you can edit the home.xml file, alt-tab to XBMC, and just refresh the skin to see changes on the fly. So much easier! - hugenx - 2010-05-21 I`ll give it a try, thx =) - monsieurpaulu - 2010-05-22 hello, i like your mod very much. but is it possible to get de menu's in the center ( like Aeon ) some thing like this ? - psyomega - 2010-05-22 monsieurpaulu Wrote:hello, yeah, you can move it anywhere you want if you edit 3 lines in the home.xml file. 1. Starting at line 847 where you see Code: <control type="wraplist" id="9000"> is the main menu. By changing the number between the <posy></posy> will change the vertical alignment. The 'r' in this case just means that coordinate starts from the bottom and moves up. 2. Starting at line 812 where you see Code: <control type="image"> is the shadow part behind the main menu. If you want the shadow behind the menu you will have to play with the number between the <posy></posy>. 3. Starting at line 397 where you see Code: <control type="group" id="9001"> is the sub menu. If you want to move the sub menu the process is the same. You just have to play with the number between the <posy></posy>. - monsieurpaulu - 2010-05-22 Thanks i will give it a try !! - monsieurpaulu - 2010-05-22 hi , after some work this is how it looks for me now : - psyomega - 2010-05-22 monsieurpaulu Wrote:hi , cool ^^ :cool2: - Mrkennedy - 2010-05-30 monsieurpaulu Wrote:hi , You got a copy of that home.xml looks very good - monsieurpaulu - 2010-05-30 hello i will post a link for download http://rapidshare.com/files/393253490/Home.xml.html - Mrkennedy - 2010-06-02 Already been downloaded a max amount of times - monsieurpaulu - 2010-06-02 a new link : http://rapidshare.com/files/394452191/Home.xml.html - SlaveUnit - 2010-06-04 Just put it up on another share site or pastebin or youll be running into this every 10 people that want it. - monsieurpaulu - 2010-06-04 i will do it later thanks for the tip http://pastebin.com/66V1N3iJ |