Change hqm-20110216-yEC by [email protected] on 2011-02-16 13:13:49 EST
    in /Users/hqm/openlaszlo/trunk2/my-apps/components
    for http://svn.openlaszlo.org/components/trunk

Summary:  add support for vertical slider orientation

New Features:

Bugs Fixed:

Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Overview:
    

Details:
    

Tests:

run this from components/demos/av directory

<canvas width="100%" height="100%" >
  <debug x="600" y="20" width="500" height="400"/>
  <include href="../../lib/"/>
  <stylesheet>
      sldr {
           interior-border-color: #dfdfdf;
           interior-fill-color: #ffffff;
        }

        sldr sliderbutton {
           icon-position: bottom;
           background-image: url(http:assets/player/handle.png);
        }


        .vsldr sliderbutton {
           icon-position: bottom;
           background-image: url(http:assets/player/handlev.png);
        }
    </stylesheet>
    <!-- horizontal -->
      <sldr x="40" y="40" name="hp"  width="300" showvalue="false" value="0" 
min="0" max="100"> </sldr>
    <!-- vertical -->
      <sldr styleclass="vsldr" name="vp" x="100" y="100" width="20"  
height="300" axis="y" showvalue="false" value="0" min="0" max="100"> </sldr>
</canvas>


Files:
M       lib/slider/library.lzx
M       lib/slider/sliderbutton.lzx


Changeset: http://svn.openlaszlo.org/openlaszlo/patches/hqm-20110216-yEC.tar

Reply via email to