1. #1
    Sencha User
    Join Date
    Jun 2013
    Posts
    8
    Vote Rating
    0
    darkmortem is on a distinguished road

      0  

    Default Unanswered: how i can add text dynamically to the custom disclosure buttons using CSS and Sencha

    Unanswered: how i can add text dynamically to the custom disclosure buttons using CSS and Sencha


    how i can add text dynamically to the custom disclosure buttons using CSS and Sencha, I'm stuck with this

    it is possible?


    Code:
    .x-list .x-list-disclosure:before {  position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      content: 'b';
      font-family: 'Pictos';
      color: #77FF00;
      font-size: 24px;
      text-align: center;
      line-height: 35px;
      text-shadow: 0 0 0;
    }
    achieved customize the button but not add dynamic text if possible any ideas?
    -----------------------------------------------------------------------------------

    Exist a configuration allowing the text into the Disclosure button with Sencha Touch 2.1
    onItemDisclosure: true

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,801
    Answers
    3467
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Do you want the icon and text?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jun 2013
    Posts
    8
    Vote Rating
    0
    darkmortem is on a distinguished road

      0  

    Default Only the text

    Only the text


    yes, only the text like this picture, 2014, 2015 2016, exist one way to do this?
    botones.png

    i am thinking create the button with html and call the method in the controller, but in sencha when exist many code html, i know that I'm not using properly the framework.

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,801
    Answers
    3467
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    You would need to add a separate element and handle positioning and font yourself.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  5. #5
    Sencha User
    Join Date
    Jun 2013
    Posts
    8
    Vote Rating
    0
    darkmortem is on a distinguished road

      0  

    Default ok, one question?

    ok, one question?


    which is the best way

    a) embedded html when generating the list,

    b) or as a button using the framework,

    according to your experience,

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..." hd porno faketaxi