Where is the difference in resizeing stack?

Mark Schonewille m.schonewille at economy-x-talk.com
Fri Jul 25 07:24:23 EDT 2008

Hi Tiemo,

You have a button, which sets the size of your stack to the minHeight  
and minWidth and then your resizestack handler acts as if the size of  
the stack has been set to minHeight and minWidth by the user...?  
What's the problem?

Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering

Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
  for more info.

On 25 jul 2008, at 13:16, Tiemo Hollmann TB wrote:

> Hello,
> I have a resizeStack handler, where I handle resizing my objects.  
> That works
> very fine. Now I wanted to build a button, where the user can resize  
> the
> stack to the min size by one click, where I just set the width of  
> the stack
> to the minwidth and height to the minheight. That works for the  
> stack, BUT
> my resizeStack handler shrinks my objects much more, as if the user  
> would
> have resized the window to its minwidth and minheight.
> So where is the difference between a "user resize" and my "set the  
> width"?
> Why does the resizeStack handler sets different result width and  
> heights to
> the objects?
> Thanks for any hint
> Tiemo

More information about the use-livecode mailing list