1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    104
    Vote Rating
    0
    rbahumi is on a distinguished road

      0  

    Default Unanswered: how to add +/- icons to sencha Ext.field.Slider

    Unanswered: how to add +/- icons to sencha Ext.field.Slider


    Hi,

    I want like to add a 'plus' and 'minus' icons at both ends of the slider, so a user can use them to fine-tune the selected value. (a combination between a slider and 'Ext.field.Spinner').

    Is there a build in functionality for doing so I am not aware of?
    If not, how can I make this work?

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,569
    Answers
    539
    Vote Rating
    307
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    I had to do this on a recent project. I just wrapped the slider in a container along with a couple of components at either end to hold the + and -. A bit of CSS later and they all looked like the same component.

  3. #3
    Sencha User
    Join Date
    Sep 2012
    Posts
    104
    Vote Rating
    0
    rbahumi is on a distinguished road

      0  

    Default


    Thank you for your replay.
    I wish to do this inside a form, therefor using a field, and having the 'label' set as all the rest of the fields.

    Did you use 'Ext.field.Slider' or 'Ext.slider.Slider'?

    Would you mind sharing your code here?

    Regards,
    Roei.

  4. #4
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,569
    Answers
    539
    Vote Rating
    307
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    Please post questions in the correct forum. When I originally answered your question I thought we were talking abou ExtJS, not Touch.

    I didn't require the label in my use case but I can see how that would be a problem. Off the top of my head I see no reason why this couldn't be done by wrapping it in a FieldContainer rather than a normal container. No idea about Touch but I imagine it's similar.

Thread Participants: 1

Tags for this Thread

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..."