maxWidth resizes but not maxHeight - Which is right?

Thomas McGrath III 3mcgrath at comcast.net
Mon Mar 3 16:13:23 EST 2008


Is there a reason this script causes the width of the stack to shrink  
when the height is not 800 BUT not the height.

What I mean is that this script will not adjust the height at all and  
will not enlarge the stacks width but when the height is 800 it WILL  
resize the stack window to the 450 maxWidth and no others?????

on mouseUp pMouseBtnNo
     if the maxheight of this stack is 800 then
         set the maxheight of this stack to 650
         set the maxwidth of this stack to 450
     else
         set the maxheight of this stack to 800
         set the maxwidth of this stack to 700
     end if
end mouseUp


Thanks Tom





More information about the use-livecode mailing list