[ HELP ] Color of non-selected text (1 Viewer)

kyleh0000

MP Donator
  • Premium Supporter
  • April 28, 2009
    144
    23
    Home Country
    Hi All,

    Im after a bit of help, im working on some skins and i want to be able to change the color of a menu item that is NOT selected

    according to the wiki it should be <disabledcolor>gray</disabledcolor>

    disabledcolor
    Long
    The color of the text when the button does not have the focus/not selected (#4 in above image)

    and after searching around the forums i also found a tag called <textcolornofocus>gray</textcolornofocus>

    but nothing seems to work, there are several other threads in this forums asking similar questions however most of quite old and none provided a fix, I just wanted to check if anyone else was having the same issue as it maybe a bug i MP or at the very least an outdated wiki page

    im on Win7x64 with MP 1.1.1

    If everyone else is having the same issue ill submit a proper bug report.

    cheers
     

    stdly

    MP Donator
  • Premium Supporter
  • April 19, 2008
    238
    41
    Home Country
    Canada Canada
    kyleh0000
    I have had luck with these values depending what xml file.
    Have you tried in references.xml.
    Steve
     

    kyleh0000

    MP Donator
  • Premium Supporter
  • April 28, 2009
    144
    23
    Home Country
    ok i got it working,

    its got something to do with the order and also the animation affects.

    if you change the default button in references.xml to something like this....

    <control>
    <description>default button</description>
    <type>button</type>
    <id>1</id>
    <posX>533</posX>
    <posY>250</posY>
    <width>260</width>
    <height>45</height>
    <textXOff>17</textXOff>
    <textYOff>6</textYOff>
    <textureFocus>menu_list_focus.png</textureFocus>
    <textureNoFocus>menu_list_nofocus.png</textureNoFocus>
    <font>font12</font>
    <textcolor>red</textcolor>
    <colordiffuse>blue</colordiffuse>
    <!-- <animation effect="zoom" start="100,100" end="105,105" time="100">focus</animation>
    <animation effect="zoom" start="105,105" end="100,100" time="300">unfocus</animation>-->
    <textcolorNoFocus>ff909090</textcolorNoFocus>
    </control>

    Just make sure the you have either commented out or removed the animation affect and also placed the <textcolorNoFocus> tag and the end and it should work fine:)
     

    ysmp

    Design Group
  • Team MediaPortal
  • May 17, 2008
    1,863
    744
    Seoul.
    Home Country
    South Korea South Korea
    ok i got it working,

    its got something to do with the order and also the animation affects.

    if you change the default button in references.xml to something like this....

    <control>
    <description>default button</description>
    <type>button</type>
    <id>1</id>
    <posX>533</posX>
    <posY>250</posY>
    <width>260</width>
    <height>45</height>
    <textXOff>17</textXOff>
    <textYOff>6</textYOff>
    <textureFocus>menu_list_focus.png</textureFocus>
    <textureNoFocus>menu_list_nofocus.png</textureNoFocus>
    <font>font12</font>
    <textcolor>red</textcolor>
    <colordiffuse>blue</colordiffuse>
    <!-- <animation effect="zoom" start="100,100" end="105,105" time="100">focus</animation>
    <animation effect="zoom" start="105,105" end="100,100" time="300">unfocus</animation>-->
    <textcolorNoFocus>ff909090</textcolorNoFocus>
    </control>

    Just make sure the you have either commented out or removed the animation affect and also placed the <textcolorNoFocus> tag and the end and it should work fine:)

    hey kyle !

    thank you very mach ..... work great just as i wont it .....:D :D
     

    Users who are viewing this thread

    Top Bottom