Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
character limit when to use the CUSTOMLABELSTEXT ?
posted

I wonder is there a limitation on the number of character when to use the CUSTOMLABELSTEXT opttion, the outcome cut off  at the position 8 of the last line. any help greatly appreaciated

CustomLabelsText="$10
$20
$30
$40
$50
$60
What ever it takes

-----------------------------------------------------------
$10      20$        $30       $40       $50       $60       What ev

 

<cc1:WebSlider ID="WebSlider1" runat="server" MaxValueAsString="70" MinValueAsString="10"ValueAsString="10" Width="100%" StyleSetName="RubberBlack" ValueType="Int">

<ValueLabel Location="FloatTopOrLeft" CssClass="igsli_ValueLabelFloatLShowAll" Format="${0}" />
<Tickmarks Location="BottomOrRight" NumberOfLabels="7" NumberOfMajorTickmarks="7"NumberOfMinorTickmarks="10" CustomLabelsText="$10
$20
$30
$40
$50
$60
What ever it take">

</Tickmarks>

 

</cc1:WebSlider>

Parents
  • 1332
    posted

    Hello,

     It is assumed that the labels are within a certain length since they look a little odd with the tickmarks if they are too long. You have a  couple of options to get the label to display the entire text: you can let the text overflow or you can break the text into several lines.

    Create a style for the label, which has the class name igsli_LabelB. Give the style an overflow setting of visible or give it a width and height and put a line break in the long text label.

    div .igsli_LabelB

    {

    overflow: visible;

    }

Reply Children
No Data