2 Replies Latest reply on Mar 21, 2012 10:28 PM by Patel Bharat

    How can I make dataTip placement left for mx:Slider

    Jerome J M

      hi, i need to make dataTip placement "Left" for mx:Slider. In mx:HSlider it is possible. But in mx:Slider dataTipPlacement="Left" is not working

        • 1. Re: How can I make dataTip placement left for mx:Slider
          Patel Bharat Level 2

          Refer the blow example, it would be helpful:

           

          <?xml version="1.0" encoding="utf-8"?>

          <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"

                  layout="vertical"

                  verticalAlign="middle"

                  backgroundColor="white">

           

           

              <mx:Style>

                  @font-face{

                      src: local("Arial");

                      fontFamily: "ArialEmbedded";

                      fontWeight: bold;

                  }

           

           

                  HSlider {

                      dataTipStyleName: "myDataTip";

                      data-tip-placement:left;

           

                  }

           

           

                  .myDataTip {

                      backgroundColor: black;

                      color: white;

                      fontWeight: bold;

                      fontFamily: ArialEmbedded;

                      fontSize: 16;

                  }

              </mx:Style>

           

           

              <mx:HSlider id="slider" />

           

           

          </mx:Application>

          • 2. Re: How can I make dataTip placement left for mx:Slider
            Jerome J M Level 1

            Thank you. It will work in mx:HSlider.,but i need in mx:Slider. Is there any way for apply dataTipPlacement in mx:Slider?