2022-11-11, 02:47
I was looking at an issue in my skin where it wasn't rendering to fill the whole window with Kodi set to windowed and arbitrary window dimensions on the desktop.
I have a single folder for skin xml files and the design dimensions are 1920x1080/16:9
What I found is that if I have just a single res element in my addon.xml:
But if I add another resolution for 4:3, pointing to the same folder:
But if I do the same thing with Estuary, this doesn't happen. It always renders in the whole window. I can't for the life of me see what Estuary does different.
scott s.
.
I have a single folder for skin xml files and the design dimensions are 1920x1080/16:9
What I found is that if I have just a single res element in my addon.xml:
then the skin always renders correctly, even if the window dimension is 1000x1000.xml:<res width="1920" height="1080" aspect="16:9" default="true" folder="xml" />
But if I add another resolution for 4:3, pointing to the same folder:
then Kodi finds the 4:3 as the closest resolution, but when the skin is rendered it is rendered at 16:9 aspect, with the remainder of the window "black". That's true even if I switch to full screen (windowed): the 1000x1000 window is just stretched with the skin rendered still in the upper portion until a restart.xml:<res width="1920" height="1080" aspect="16:9" default="true" folder="xml" />
<res width="1920" height="1440" aspect="4:3" default="false" folder="xml" />
But if I do the same thing with Estuary, this doesn't happen. It always renders in the whole window. I can't for the life of me see what Estuary does different.
scott s.
.