Sencha touch中类似iPad的弹出式窗口 [英] iPad-like pop-over in Sencha touch
本文介绍了Sencha touch中类似iPad的弹出式窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想用Sencha touch中的登录表单创建一个类似iPad的弹出窗口.我该怎么办?
I want to create an iPad-like pop-over with a login form in Sencha touch. How can I do this?
推荐答案
您可以尝试制作一个普通的Ext.Panel看起来像一个弹出窗口
You may try making a normal Ext.Panel to look like a popover
var gkpopover = new Ext.Panel({
id :'gkpopoverpanel',
floating:true,
modal:true,
width:'100px',
height:'100px', });
注意:永远不要忘记设置高度和宽度.
Note: Never forget to set height and width.
并显示
gkpopover.show('pop');
希望这很有道理.
这篇关于Sencha touch中类似iPad的弹出式窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文