Results 1 to 2 of 2

Thread: Dynamically resizing icon image in button

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    35
    Vote Rating
    0
      0  

    Default Dynamically resizing icon image in button

    Hi,

    I am using Sencha Touch 1.1. I created an xtype button and used an icon image using icon property.
    I am resizing button using setwidth but icon image is not getting resized.
    How can I resize icon image dynamically at runtime.

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,062
    Answers
    3976
    Vote Rating
    1391
      0  

    Default

    You will likely need to use CSS to have a dynamic size.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

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
  •