1. #1
    Sencha User
    Join Date
    Jun 2008
    Posts
    77
    Vote Rating
    0
    PSB is on a distinguished road

      0  

    Question resize Ext.QuickTip

    resize Ext.QuickTip


    Hello.

    I try monitoring resize for textfield in Ext.QuickTip:

    Code:
                                              new Ext.ToolTip({
    						id:item.id+"_tt",
    						target:item.id,
    						width:item.width,
    						autoHide:false,
    						closable:true,
    						draggable:true,
    						anchor:"top",
    						listeners:{
    							show:function(){
    								Ext.getCmp(item.id+"_ttValue").setValue(item.getValue());
    								
    								var resizer = new Ext.Resizable(this.getEl(),{
    									handles:"e"
    								});
    								
    								this.getEl().on("resize",function(QT,newWidth){
    									alert("DF");
    								});
    							}
    						},
    						items:[{
    							xtype:"textfield",
    							id:item.id+"_ttValue"
    						}]
    					});
    But after resize Ext.QuickTip - textfield is not synchronized. What I wrong?

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,508
    Vote Rating
    58
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Why WOULD the textfield resize just because you resized some DIV element??

    If you size a Container OBJECT, and that Container OBJECT has been configured to use a layout which DOES sizing, then it might work.

Similar Threads

  1. Ext.QuickTip Help - IE Zoom Property
    By SriniDex in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 27 Apr 2009, 10:58 AM
  2. [Ext-1.1.1]Problem with the width of QuickTip
    By tookoo in forum Ext 1.x: Bugs
    Replies: 0
    Last Post: 4 Jan 2008, 11:04 AM

Thread Participants: 1