@ -52,8 +52,8 @@ BI.PopupView = BI.inherit(BI.Widget, {
} ;
} ;
this . element . css ( {
this . element . css ( {
"z-index" : BI . zIndex _popup ,
"z-index" : BI . zIndex _popup ,
"min-width" : o . minWidth / BI . pixRatio + BI . pixUnit ,
"min-width" : BI . isNumeric ( o . minWidth ) ? ( o . minWidth / BI . pixRatio + BI . pixUnit ) : o . minWidth ,
"max-width" : o . maxWidth / BI . pixRatio + BI . pixUnit
"max-width" : BI . isNumeric ( o . maxWidth ) ? ( o . maxWidth / BI . pixRatio + BI . pixUnit ) : o . maxWidth
} ) . bind ( { click : fn } ) ;
} ) . bind ( { click : fn } ) ;
this . element . bind ( "mousewheel" , fn ) ;
this . element . bind ( "mousewheel" , fn ) ;
@ -96,7 +96,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
var o = this . options ;
var o = this . options ;
this . button _group = BI . createWidget ( o . el , { type : "bi.button_group" , value : o . value } ) ;
this . button _group = BI . createWidget ( o . el , { type : "bi.button_group" , value : o . value } ) ;
this . button _group . element . css ( {
this . button _group . element . css ( {
"min-height" : o . minHeight / BI . pixRatio + BI . pixUnit ,
"min-height" : BI . isNumeric ( o . minHeight ) ? ( o . minHeight / BI . pixRatio + BI . pixUnit ) : o . minHeigh t ,
"padding-top" : o . innerVGap / BI . pixRatio + BI . pixUnit ,
"padding-top" : o . innerVGap / BI . pixRatio + BI . pixUnit ,
"padding-bottom" : o . innerVGap / BI . pixRatio + BI . pixUnit
"padding-bottom" : o . innerVGap / BI . pixRatio + BI . pixUnit
} ) ;
} ) ;