1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    2
    Vote Rating
    0
    digitalsleep01 is on a distinguished road

      0  

    Default Adding an image to a button in Architect

    Adding an image to a button in Architect


    I'm new to Architect, Is there no simple way to add a image to a button. seems like there where be a property for one but i don't see it


    Thanks in advance

  2. #2
    Sencha Premium Member
    Join Date
    Nov 2007
    Location
    Moore, Oklahoma
    Posts
    469
    Vote Rating
    13
    Mthor will become famous soon enough

      0  

    Default


    iconCls: cssClass or architect has lots of images to choose from.


    you can also use icon: 'path to icon'

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    2
    Vote Rating
    0
    digitalsleep01 is on a distinguished road

      0  

    Default


    Sorry, lil confused I tried iconCls and it provided a icon size image. I am trying to create an image button. Is that how i do it?

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,359
    Vote Rating
    128
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    You might just be looking for an Image and then setup an event handler on the element.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 2

Tags for this Thread