我需要缩放应用程序,以适应它内部和固定大小的iframe,但我注意到比extjs 4组合框没有工作缩放,这是我第一次看到这个问题与规模转换,我想它影响所有浮动组件在分机。Extjs组合框应用CSS规模转换后不起作用
下面是一个例子
body { -webkit-transform: scale(0.8); -moz-transform: scale(0.8); -ms-transform: scale(0.8); -o-transform: scale(0.8); transform: scale(0.8); } //Example from extjs documentation Ext.onReady(function(){ // The data store containing the list of states var states = Ext.create('Ext.data.Store', { fields: ['abbr', 'name'], data : [ {"abbr":"AL", "name":"Alabama"}, {"abbr":"AK", "name":"Alaska"}, {"abbr":"AZ", "name":"Arizona"} //... ] }); // Create the combo box, attached to the states data store Ext.create('Ext.form.ComboBox', { fieldLabel: 'Choose State', store: states, queryMode: 'local', displayField: 'name', valueField: 'abbr', renderTo: Ext.getBody() }); });
Fiddle显示Issue
,当我尝试打开它并不似乎是在正确的位置列表。
有没有办法让它工作?
在此先感谢