Results 1 to 2 of 2

Thread: Using components in Sencha Architect, that are not present by default

  1. #1
    Sencha User
    Join Date
    Nov 2013
    Posts
    1
    Vote Rating
    0
      0  

    Default Using components in Sencha Architect, that are not present by default

    I am new in Sencha Touch. I am using Sencha Architect 2.2.3
    to develop a project. I have to use some components that are
    not given in the toolbox of architect by default. For example, I
    cannot use Ext.draw.sprite.Image because this is not in the
    toolbox. I have tried to add custom components but failed to
    figure out how does it work.

    Any sorts of advice will be highly appreciated. Thanks in
    advance.

  2. #2
    Touch Premium Member BostonMerlin's Avatar
    Join Date
    Aug 2010
    Location
    Boston
    Posts
    548
    Vote Rating
    44
      0  

    Default

    You'll want to roll your own component ... for example ... drag a component or container from the toolbox to your project then in the appropriate events (init or some other event) use ext.draw as needed. If you plan to use this over and over you can easily add your newly created component to the toolbox for use later. Hope that helps. JB
    I love being a dad (5 & 7), flying airplanes (KBED) and writing code (spaghetti).
    BostonMerlin aka John Bond aka JB
    See U @ SenchaCon '13

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •