Image Position and resizing window
#1
I am learning to skin and need some advice on positioning controls

Image

Image

when I change the window size the images move to the wrong positions.

If required I can post my code.
Reply
#2
Reload the skin and it'll correct itself.

See this thread for instructions on how to reload using the keymap.
Reply
#3
Thanks, happy to try that however I notice I don't have this issue on the other XBMC skins do you know why?
Reply
#4
not sure if it applies to your code, but in case you used an aspectratio tag in your image controls,
that could certainly influence the way they appear when you resize the window.

http://wiki.xbmc.org/index.php?title=Aspect_Ratio
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
Good catch ronie. Wink

Can I ask why you're changing window sizes?
Reply
#6
Because the images move to the wrong position when i go into windowed mode.

Reply
#7
But why is your windowed mode a different aspect ratio than the fullscreen one?
Reply
#8
Thanks ronie i'll try that as well.

Hitcher: When i go into window mode the images change position slightly. I exaggerated in the screen shot by changing the aspect ratio.
Reply
#9
I make sure my windowed mode is the same aspect ratio as the fullscreen mode but you always have to refresh the skin when change from one to the other.
Reply
#10
thanks Hitcher, very good advice. Back to skinning!
Reply

Logout Mark Read Team Forum Stats Members Help
Image Position and resizing window0