Kodi Community Forum

Full Version: [MOD] OSD menu resize
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

This is a different (quick and dirty) solution to the same problem as described by TheDroid is at http://forum.xbmc.org/showthread.php?tid=54670. TheDroid solution is way more advanced, check it out as well.


I had the same problem as TheDroid with the menu covering the subtitles that I was trying to adjust, and resolved it through moving the dialog and hiding the bottom panel by adding the following to VideoOSD.xml.

Code:
<window id="2901">
    <defaultcontrol>13</defaultcontrol>
    <controls>

    <control type="group">
        <posx>0</posx>
        <posy>561</posy>
        <width>1280</width>
        <height>159</height>
        <include>Animation_OSDFade</include>    
        [color=DarkRed]<visible>!Window.IsActive(125)</visible>
        <visible>!Window.IsActive(124)</visible>
        <visible>!Window.IsActive(123)</visible>[/color]

and changing the height and width attributes of the Audio and Video OSD settings dialog boxes in VideoOSDSettings.xml

Code:
    <control type="image">
        <description>Panel</description>
        [color=DarkRed]<posx>40</posx>
        <posy>40</posy>
        <width>520</width>
        <height>481</height>[/color]
        <texture>osd/osd_settings_back.png</texture>
    </control>

    <control type="grouplist" id="5">
        <description>control area</description>
        [color=DarkRed]<posx>60</posx>
        <posy>75</posy>
        <width>481</width>
        <height>440</height>[/color]
        <texture>-</texture>
        <itemgap>0</itemgap>
    </control>

This is the effect:

Image
full size image

Image
full size image
Very good!!
Thx!
Glad you like it and you're welcome.
another one for you hitcher.
Big Grin
neurosis13 Wrote:another one for you hitcher.
Big Grin

Thnx! That suggestion is actually a compliment. Big Grin

Lukas