Roo/bootstrap/ComboBox.js
authorAlan Knowles <alan@roojs.com>
Tue, 13 Feb 2018 09:26:48 +0000 (17:26 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 13 Feb 2018 09:26:48 +0000 (17:26 +0800)
Roo/bootstrap/ComboBox.js

index eb73e90..548b925 100644 (file)
@@ -2559,9 +2559,10 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         this.touchViewEl.setStyle('z-index', Roo.bootstrap.Modal.zIndex++);
         this.touchViewEl.show();
 
-        this.touchViewEl.select('.modal-dialog', true).first().setStyle('margin', '0px');
-        this.touchViewEl.select('.modal-dialog > .modal-content', true).first().setSize(
-                Roo.lib.Dom.getViewWidth(true), Roo.lib.Dom.getViewHeight(true));
+        this.touchViewEl.select('.modal-dialog', true).first().setStyle({ margin : '0px', width : '100%'});
+        
+        //this.touchViewEl.select('.modal-dialog > .modal-content', true).first().setSize(
+        //        Roo.lib.Dom.getViewWidth(true), Roo.lib.Dom.getViewHeight(true));
 
         var bodyHeight = Roo.lib.Dom.getViewHeight() - this.touchViewFooterEl.getHeight() + this.touchViewBodyEl.getPadding('tb');