Kodi Community Forum

Full Version: videowindow resizes on fullscreen
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am using videofullscreen.xml for displaying the video.
It looks as :

<window id="2005">
<defaultcontrol>-</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<controls>
<!-- codec infos -->
<control type="image">
<description>media info background image</description>
<posx>-10</posx>
<posy>40</posy>
<width>740</width>
<height>110</height>
<texture>osd_menu_bg.png</texture>
</control>


<!-- Background Image-->

<control type="image" id="1">
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<texture>xbmccinema2.png</texture>
</control>

<!-- End of Background Image-->


<control type="image" id="2">
<description>background image</description>
<posx>10</posx>
<posy>45</posy>
<width>210</width>
<height>51</height>
<texture>logo.png</texture>
<visible>true</visible>
</control>
<!-- Time Bar-->
<control type="image" id="4">
<description>label image bg</description>
<posx>400</posx>
<posy>45</posy>
<width>310</width>
<height>41</height>
<texture>timepanel4.png</texture>
</control>

<control type="label" id="4">
<posx>425</posx>
<posy>55</posy>
<label>$INFO[System.Date] | $INFO[System.Time]</label>
</control>

<!-- End of Time Bar-->

<!-- RSS Feeds Image
<control type="image" id="5">
<posx>181</posx>
<posy>535</posy>
<width>840</width>
<height>50</height>
<texture>rssbackground.png</texture>
</control>-->
<control type="rss" id="1">
<description>rss feed</description>
<posx>210</posx>
<posy>625</posy>
<width>980</width>
<aligy>center</aligy>
<font>special13</font>
<urlset>1</urlset>
<titlecolor>green</titlecolor>
<headlinecolor>dialogheader</headlinecolor>
<textcolor>green</textcolor>
<shadowcolor>FF292626</shadowcolor>
<visible>true</visible>
<include>homemisc</include>
</control>

<!-- End of Rss Feeds Image-->

<!-- video frame-->
<control type="videowindow">
<description>video preview window</description>
<posx>0</posx>
<posy>0</posy>
<width>1000</width>
<height>550</height>
<visible>true</visible>
</control>
<!--end of video Frame-->
</controls>
</window>

now the videowindow resizes itself on pressing '\' i.e. going back and forth to fullscreen ....
kindly suggest the solution