PDA

View Full Version : Ext.Sheet can't be over 200px unless stretched



mvarshavsky
10 Jun 2011, 11:23 AM
E.g., for a left|right enter, if Sheet's stretchY is not set to true I can't get the height to be over 200px because of the following:


size.height = me.stretchY ? pageBox.height : Math.min(200, Math.max(size.height || box.height || pageBox.height, pageBox.height));

What's the point of that 200 limitation? Looks to me like Math.max should be a min, and you don't need anything else?