Search code examples
extjsextjs3

Making Ext Js Ext.Tip resizable


I have a UI tip component in my code, I want to make this component resizable

I am currently using Ext Js 3.2 library


Solution

  • You can bind a resizer to it:

    var resizer = new Ext.Resizable(tip.id, {
        handles: 'all',
        pinned: false
    });
    
    resizer.on('resize', function() {
        tip.syncShadow();
    });
    

    Unfortunately, it seems that the tip component has not been developed with arbitrary sizing in mind, so you'll have to hack the CSS...