Page tree


Search


 Recently Updated



 Latest Releases

 MediaPortal 1.17 Final
            Releasenews | Download
 MediaPortal 2.1 Final 
            Releasenews | Download

Purpose

  • Added icon horizonal alignment (left, right, center)
  • Added icon vertical alignment (top, middle, bottom)
  • Added second icon to the control (icon2)
  • Added ability to inline an icon with button label

Description of change

New skin property iconAlign allows the icon to be positioned at the left, right, or center of the button; default is left. The offset X value is applied after the icon is positioned by iconAlign.

New skin property iconVAlign allows the icon to be positioned at the top, bottom, or middle of the button; default is top. The offset Y value is applied after the icon is positioned by iconVAlign.

New icon added to the control (icon2). Functions exactly as icon (the legacy implementation). Simply use substitute "icon2" for "icon" in each of the legacy attribute names.

New skin properties iconInlineLabel1 and icon2InlineLabel1 (that's a '1' -one- at the end of the attribute name) allows the icon to be positioned immediately following the label1 text no matter what length the text is (it is inline with the text). The icon will always be displayed even if the label1 text exceeds the width of the button; in this case the label1 text width is shortened by the width of the icon so that the label may be displayed without the text overwriting the icon. This feature is useful, for example, to display a tv program icon associated with a show in the tv guide program button (e.g., an HD icon).

   

 

This page has no comments.