extjs 3.3: floating panel

早过忘川 提交于 2019-12-01 22:49:07

Following needs to be taken care of when using the floating config:

1) Fixed width - which you've done 2) The position must be set explicitly after render (e.g., myPanel.setPosition(100,100);).

You can also set the underlying Ext.Layer config option instead of just setting floating : true. You can do that in the following way:

Ext.Panel({

  //.. other config..,
  floating : {
    //Ext.Layer config options. Maybe a property in that will get you the desired effect that you're looking for.
  }
});

Try this and update!

Cheers.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!