1. #1
    Sencha User
    Join Date
    Apr 2011
    Posts
    43
    Vote Rating
    0
    pk.hafeez is on a distinguished road

      0  

    Wink Unanswered: How to add a field labelt to slider in the package com.sencha.gxt.widget.core.client.

    Unanswered: How to add a field labelt to slider in the package com.sencha.gxt.widget.core.client.


    Im new to ext gwt. Im trying out gwt 3.0 beta version. I have added a slider but not finding how to add field label to the slider. i have used setname method but that doesnt do.

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Answers
    109
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    The setName method, as the javadoc implies (see com.google.gwt.user.client.ui.HasName) only modifies the html attribute called name, not the label.

    Take a look at form examples http://www.sencha.com/examples-dev/#...e:formsexample and associated source - wrap the field in a FieldLabel before adding it to its parent:

    Code:
        Slider slider = new Slider();
        slider.setMinValue(40);
        slider.setMaxValue(90);
        slider.setValue(0);
        slider.setIncrement(5);
        slider.setMessage("{0} inches tall");
        p.add(new FieldLabel(slider, "Size"), new VerticalLayoutData(1, -1));

  3. #3
    Sencha User
    Join Date
    Apr 2011
    Posts
    43
    Vote Rating
    0
    pk.hafeez is on a distinguished road

      0  

    Default


    Thanks ! That works !

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi