Kodi Community Forum
RadioposX problems - 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: RadioposX problems (/showthread.php?tid=73110)



RadioposX problems - Hitcher - 2010-05-02

When setting radioposx (in this example it's 80) I'm getting the radio buttons aligned 80 from the left and the spin buttons aligned 80 from the right. Is this a bug?

Image

Also, how do I set the position x of the label (ringed in image) because at the moment it seems to follow the textoffset which means it can't be aligned with my buttons?


- jmarshall - 2010-05-03

It's retarded, but it's by design. Note that <spinposx> is what is actually read for a spinner, though these re-use the same code as <radioposx> thus what you see.

I strongly suggest not using these, and rather just having the <width> of the control suitably aligned.

Cheers,
Jonathan