@ -41,7 +41,7 @@ BI.Input = BI.inherit(BI.Single, {
this.element
.keydown(function (e) {
inputEventValid = false;
ctrlKey = e.ctrlKey;
ctrlKey = e.ctrlKey || e.metaKey; // mac的cmd支持一下
keyCode = e.keyCode;
self.fireEvent(BI.Input.EVENT_QUICK_DOWN, arguments);
})
@ -32,7 +32,10 @@ BI.FlexWrapperHorizontalLayout = BI.inherit(BI.Layout, {
_addElement: function (i, item) {
var o = this.options;
var w = BI.FlexWrapperHorizontalLayout.superclass._addElement.apply(this, arguments);
w.element.css({position: "relative"});
w.element.css({
position: "relative",
"flex-shrink": "0"
});
if (o.columnSize[i] > 0) {
w.element.width(o.columnSize[i]);
}
@ -32,7 +32,10 @@ BI.FlexWrapperVerticalLayout = BI.inherit(BI.Layout, {
var w = BI.FlexWrapperVerticalLayout.superclass._addElement.apply(this, arguments);
if (o.rowSize[i] > 0) {
w.element.height(o.rowSize[i]);