hph Posted October 4, 2016 Share Posted October 4, 2016 If I set a UniSimplePanel to draggable and resizable then the resizing is not correct. If I resize the UniSimplePanel it will resize and move. If the draggable property is false then the resizing is ok. My configuration: UniSimplePanel1.Draggable.Enabled := True; UniSimplePanel1 -> ClientEvents -> ExtEvents -> added fn: function added(sender, container, pos, eOpts) { sender.resizable={ minWidth: 160, minHeight: 120, dynamic: true, pinned: true, handles: 's e se', heightIncrement: 20, widthIncrement: 20 } } thanks for any help. best regards hanspeter Link to comment Share on other sites More sharing options...
Sherzod Posted October 4, 2016 Share Posted October 4, 2016 Hi, Good question! For now can you try this?!: UniSimplePanel -> ClientEvents -> ExtEvents -> afterrender fn: function afterrender(sender, eOpts) { var me = sender; Ext.onReady(function() { if (me.dd) { me.dd.addInvalidHandleClass('x-resizable-handle') } }); } Best regards. Link to comment Share on other sites More sharing options...
hph Posted October 5, 2016 Author Share Posted October 5, 2016 Hi, You are the best! It works :-) Thank you very much. best regards Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now