Kodi Community Forum
Are radio buttons working correctly? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Are radio buttons working correctly? (/showthread.php?tid=323)



- billcow - 2003-11-08

small bit of odd behavior: radio buttons seem to use the main texture for both the button itself *and* the "blip", and ignoring entirely the image referenced in the "textureradiofocus" and "textureradionofocus" tags. am i missing something, or is this an actual bug?

it's a bit annoying, since the image i'm using for the buttons blends in with itself - at such a small scaling the borders disappear. so if it is intended i'd like to know a way to work around it other than re-designing the interface.

if anyone is interested, the skin i'm working on is supposed to look like the blackbox style "charcoal", which comes with bb4win (windows port of blackbox). it's rather close, aside from the fact that it's signifigantly brighter once on a tv. i have the buttons and such done (minus some quirks). so now i have to work on all the icons - the part that takes the most skill.


- jmarshall - 2003-11-10

from a quick look at the code, it appears to be a bug.

it's on my todo list.

edit: actually, at a closer look, it may not be a bug - will investigate either way.






- jmarshall - 2003-11-10

a further look has revealed the bug:

in guilib/guiradiobuttoncontrol.cpp, in the constructor, the strings passed to the constructors of m_imgradiofocus and m_imgradionofocus should be strradiofocus and strradionofocus respectively.

i'll check to make sure of this tonight (i'm on a linux machine with no xbox available at the moment), and update cvs as necessary.

thanks for finding this bug - hopefully your skinning can continue now!