Seitenhierarchie

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.32
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download


Purpose

  • Required:  No
  • Type of Change:  Bug Fix

Fadelabel/text scrolling was added to most buttons in 1.1.0 (inherited from GUIButtonControl) however this was never supported on togglebutton or checkbutton controls.  Thus long text could not scroll and would overlap the graphic textures on these controls.

Description of Change

Skins may now add <scrollStartDelaySec> and <scrollWrapString> properties to all button controls, including togglebuttons and checkbuttons, either in default settings in references.xml or in any skin xml that contains these controls.

Additional Information and References

Mantis Issue:

4109

Related xml(s):

references.xml or any skin xml that contains checkbutton or togglebutton controls

Windows IDs:

 

Related GUI control:

checkbutton, togglebutton

Author:

Scythe42

Date added:

Sun, 27 Jan 2013

XML/Code Samples

From Titan skin references.xml showing the use of scrollStartDelaySec in a style defintion:

<style Name="SettingsCheckButton">
<width>385</width>
<height>58</height>
<textXOff>33</textXOff>
<textYOff>11</textYOff>
<textpadding>46</textpadding>
<textureFocus>settings_button_focus.png</textureFocus>
<textureNoFocus>settings_button_nofocus.png</textureNoFocus>
<scrollStartDelaySec>0</scrollStartDelaySec>
<textcolor>ff000000</textcolor>
<textcolorNoFocus>ffffffff</textcolorNoFocus>
<markXOff>23</markXOff>
<markYOff>10</markYOff>
</style>

Screenshots

 

 

   

 

This page has no comments.