Results 1 to 5 of 5

Thread: custom icons in Ext.Window

  1. #1
    Sencha Premium Member steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,676

    Default custom icons in Ext.Window

    Hi,

    i would like to use custom icon for minimize as i want to do a costum method there.
    I'm sure i've seen an example doing this, but can't find it again.

    Do you know an example or how to do?

    thx.
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    Is the question:
    a. how to change the minimize icon image
    or
    b. how to add a minimize tool that performs your custom method.

  3. #3
    Sencha Premium Member steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,676

    Default

    sry for confusing: it's a only:
    How to add a custom icon at the place where minimize/maximize/close icons are
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  4. #4
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    Use the tools config option:
    Code:
    tools: [{
      id: 'minimize',
      handler: function(){
        // your code
      }
    }]

  5. #5
    Sencha Premium Member steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,676

    Default

    ah - great. Missed to expand this property in docs, where the id's and icons are in. Thank you!
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

Posting Permissions

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