Hybrid View

  1. #1
    Touch Premium Member
    Join Date
    Aug 2011
    Posts
    93
    Vote Rating
    1
    Di Peng is on a distinguished road

      0  

    Default Sencha Touch 2 colorpicker

    Sencha Touch 2 colorpicker


    Hi,
    I needed a colorpicker in my own project so I revised the one Mitchell wrote to make it work in ST2.
    Since Sencha 2 does not have an extensions forum. I thought here should be an appropriate place to post it in case anybody may find it helpful.
    It is on at https://github.com/Codier/Sencha-Touch-2-Colorpicker

    Cheers
    Di

  2. #2
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    Looks good. I added a few comments to your commits.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    118
    Vote Rating
    5
    subimage is on a distinguished road

      0  

    Default


    I couldn't get your version to work with the current Sencha v2, so I refactored it. The working result is here: https://gist.github.com/3696947

    One minor bug - it seems to not select the right color unless you explicitly tap on the color. You can't just scroll to it and tap "done".

    Will be looking for a fix and will update the gist if I fix it.

  4. #4
    Sencha User
    Join Date
    Nov 2010
    Posts
    118
    Vote Rating
    9
    Bunchofstring will become famous soon enough

      0  

    Default


    Cool! I can't wait to test this out.

  5. #5
    Sencha User
    Join Date
    Nov 2011
    Posts
    15
    Vote Rating
    0
    cn8319 is on a distinguished road

      0  

    Default


    Thank you for your reply. I replaced the original code in Ext.form.ux.touch.ColorPickerField.js with the updated code from your post, but I'm still getting - Uncaught TypeError: Cannot call method 'getPageBox' of null

    Did you get this working?

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