Fork MediaPortal on GitHub
MediaPortal Windows Media Center

Site navigation


Last Edit

Page last modified 10:41, 23 Aug 2011 by Dadeo
MediaPortal Wiki > MediaPortal 1 > Contribute > Skins > Skin Related Changes > 1.1.0 to 1.2.0 > VolumeBar width

VolumeBar width

Was this page helpful?

    Purpose

    • Required:  No (yes if your skin already uses <width> on GUIVolumeBar control)
    • Type of Change:  Bug Fix

    Description of Change

    Property <width> did not work on GUIVolumeBar control and it was impossible to skin properly due to fact that number of bars shown is number of volume steps. Number of volume steps is configurable and different for every option, user can even configure his own volume steps.

    We fixed this and now skinners can use <width> attribute which will now work and properly scale control for any number of volume steps.

    Additional Information and References

    Mantis Issue: 3641
    Related xml(s):  
    Windows IDs:  
    Related GUI control: GUIVolumeBar (volumebar)
    Author: SilentException
    Date added: Tue, 23 Aug 2011

    XML/Code Samples

    <control>
      <type>volumebar</type>
      <id>501</id>
      <posX>60</posX>
      <posY>30</posY>
      <align>left</align>
      <height>25</height>
      <imageHeight>3</imageHeight>
      <texture>volume.states.png</texture>
      <width>100</width>
      <visible>no</visible>
    </control>

     




    Running the latest version?

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