1. #21
    Sencha User
    Join Date
    Mar 2011
    Posts
    7
    Vote Rating
    0
    tchaves is on a distinguished road

      0  

    Default Scrolling

    Scrolling


    Simon, this is awesome, thanks for creating it and sharing.

    Does anyone know how I could disable scrolling on a card ONLY when the signature is being drawn?

    In my case, I need to scroll down to see the signature field, but if scrolling is enabled, the card scrolls around while I try to draw the signature.

    Any help is greatly appreciated!

  2. #22
    Sencha User
    Join Date
    Jun 2011
    Posts
    18
    Vote Rating
    0
    Akrion is on a distinguished road

      0  

    Default


    I have exactly the same issue. Anyone has any ideas regarding this?

  3. #23
    Sencha User
    Join Date
    Jun 2011
    Posts
    18
    Vote Rating
    0
    Akrion is on a distinguished road

      0  

    Default


    I guess adding this to a panel with no scrolling solves this issue, but in the cases where we have vertical scrolling allowed this plugin end up being tricky to use to say the least

  4. #24
    Ext JS Premium Member SimonFlack's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    241
    Vote Rating
    3
    SimonFlack is on a distinguished road

      0  

    Default


    I can see how that will be a problem. My only suggestion is to design your interaction around this limitation.

    Example: You could add a button labeled "Sign Here" (or something like that) and slide in an ActionSheet or Overlay that contains the SignaturePanel.
    Simon Flack
    CEO and UX Designer
    WhiteFox AS, Norway

    Web: www.whitefox.no

    Facebook: www.facebook.com/WhiteFoxAS

    Twitter: @WhiteFoxAS

  5. #25
    Sencha User
    Join Date
    Jun 2011
    Posts
    18
    Vote Rating
    0
    Akrion is on a distinguished road

      0  

    Default


    Yep an overlay is the apporach I went with. Thanks.

  6. #26
    Sencha User
    Join Date
    Feb 2011
    Posts
    111
    Vote Rating
    0
    sissonb is on a distinguished road

      0  

    Default


    I am having an issue when I try to save an image as a bitmap.

    I call,
    plugins[0].getSignatureAsImage('BMP')
    and it returns me a img element with a scr that is corrupt. This image is always the same even when the canvas changes.

    How would I save an image as BMP using this extension?

    Thanks

  7. #27
    Ext JS Premium Member SimonFlack's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    241
    Vote Rating
    3
    SimonFlack is on a distinguished road

      0  

    Default


    Hey

    Not sure that BMP is working.

    Why cant you use Ext.getCmp('signaturePanel').plugins[0].getSignatureAsImage('DATA')?

    Simon
    Simon Flack
    CEO and UX Designer
    WhiteFox AS, Norway

    Web: www.whitefox.no

    Facebook: www.facebook.com/WhiteFoxAS

    Twitter: @WhiteFoxAS

  8. #28
    Sencha User
    Join Date
    Nov 2008
    Posts
    114
    Vote Rating
    0
    tomlobato is on a distinguished road

      0  

    Default on Sencha Touch 2

    on Sencha Touch 2


    Great! On sencha touch version 1 it works perfectly.
    Is there some version for sencha touch 2?

  9. #29
    Ext JS Premium Member SimonFlack's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    241
    Vote Rating
    3
    SimonFlack is on a distinguished road

      0  

    Default


    I will try to get a version for ST2 up and running soon.
    Simon Flack
    CEO and UX Designer
    WhiteFox AS, Norway

    Web: www.whitefox.no

    Facebook: www.facebook.com/WhiteFoxAS

    Twitter: @WhiteFoxAS

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

      0  

    Default


    Quote Originally Posted by SimonFlack View Post
    I will try to get a version for ST2 up and running soon.
    Come on don't be lazy Simon
    Looking forward to see a ST2 version of this good component!
    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. Plugins vs extension
    By pokerking400 in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 7 May 2008, 12:37 PM
  2. wRite a Plugins
    By abys in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 3 Feb 2008, 12:15 PM
  3. [Solved]What are plugins?
    By vendiddy in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 10 Jan 2008, 3:09 PM

Thread Participants: 22

Tags for this Thread