Chunkywizard;500726 Wrote: 
> Hi Erland,
> 
> I am not sure the positioning fields are working as they should. See
> attached for my current Custom Clock. The %A, %B %d, %Y is at position
> 199 in the options but looking at the dump it is around 212pixels down
> the screen. I took the position to be a pixel count (0-240) but I guess
> it could be a %.
> 
> Do you know if this is a bug or my misinterpretation?
> 
> CW
It should be a pixel position but it's the position of the actual item
and not the position of the text. 

I think there might be a attribute I didn't add to the prefs file that
explains this, the item1height, item2height, item3height parameters.
Unfortunately there is a bug in the code at the moment that results in
that these parameters are hard coded even if you have specified them.

item2size = The actual font size
item2height = The size of the item, makes it possible to have margins
around it. It's currently hard coded to 50 for digital clocks and 35 for
analog clocks if I'm reading the code correctly.

I think the item2height will affect the positioning and that probably
explains why it isn't positioned exactly as you like. 

Does it mean that you can't position it exactly as you like or is it
just that you don't understand why it's positioned as it is ?


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=73104

_______________________________________________
Radio mailing list
Radio@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/radio

Reply via email to