View Full Version : Different sized button controls
bwallen
October 31st, 2011, 02:49 PM
I'm porting over an XBMC addon that uses xbmcgui.ControlButton to make a TV Guide. You can see in the attached image that each show is a new button and that the button width changes based on how long the show is.
I'm trying to figure out a good way to accomplish this in Boxee but I'm drawing a blank. I know I can make a grid, but that will make all the buttons the same size. Does anyone have any suggestions on how I can do this?
http://www.rumote.com/img/tutorial/xbmc_epg.jpg
tmiranda
October 31st, 2011, 09:00 PM
I asked the same question for exactly the same reason when developing the EPG for the SageTV app. The answer I received was that it can't be done. What I ended up doing was overlapping the buttons and making them visible or not based on how long the show lasted. See attached xml. This wiki shows a screenshot: http://code.google.com/p/sagetv-boxee/wiki/HowToSetupAndUse
If you come up with a better way I'd like to know about it.
Tom
darcilicious
October 31st, 2011, 09:28 PM
http://farm7.static.flickr.com/6209/6156290865_a7248434bd.jpg
bwallen
November 1st, 2011, 07:46 AM
Tom,
Thanks for your reply. I think you probably came up with the best way to do it. I'll give it a shot.
Edit: How does your EPG perform on the Boxee Box? The plugin I wrote for XBMC is kinda slow on an Intel Atom 1.83 GHz. If the performance sucks on the Boxee Box's 1.2 GHz or whatever it is I'll have to decide if I really want to do it or not.
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.