1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    7
    Vote Rating
    0
    J-zY is on a distinguished road

      0  

    Question Button in listitem

    Button in listitem


    Hi,

    I want to add a button to a list item like this (view menu)



    Is this done in css? Or are there other ways to do this? And how do I add a listener to a button like this.

    Thanks

  2. #2
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,394
    Vote Rating
    22
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    Hi J-zY,
    yes, it's made with css and I think they use event delegation to handle the user tapping.

    Hope this helps
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    CEO at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    http://www.tux-components.com/


Similar Threads

  1. Button UI: Combine x-button-small with x-button-back and x-button-action
    By Benjamin Ansbach in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 21 Feb 2013, 2:05 PM
  2. Replies: 0
    Last Post: 3 Sep 2010, 12:38 PM
  3. Replies: 6
    Last Post: 12 Aug 2010, 9:40 AM
  4. Replies: 2
    Last Post: 13 Jul 2010, 5:08 AM

Thread Participants: 1