MediaPortal Windows Media Center

Site navigation


Last Edit

Page last modified 09:05, 5 Oct 2010 by diebagger
MediaPortal Wiki > MediaPortal 1 > Contribute > Skins > Skin Related Changes > 1.1.0 to 1.2.0 > Button3Part

Button3Part

Was this page helpful?
    Table of contents
    1. 1. Purpose
    2. 2. Description of change

    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).




    Running the latest version?

    V1.7.0 - released April 2014
    Releasenews | Download
    Changelog
     | Requirements
    HTPC
    Team-MediaPortal
     
    About
    Contact |  Press
    Partners