1. #1
    Sencha User
    Join Date
    Nov 2013
    Posts
    1
    Vote Rating
    0
    atik.arif7 is on a distinguished road

      0  

    Default Using components in Sencha Architect, that are not present by 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
    523
    Vote Rating
    43
    BostonMerlin is a jewel in the rough BostonMerlin is a jewel in the rough BostonMerlin is a jewel in the rough

      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