Hi Tiemo, Are you aware you can set the min and max of your stack with the inspector ( size and position tab) and certainly by script too?
This should resolve your problem. HTH, Thierry 2013/2/20 Tiemo Hollmann TB <[email protected]> > Hi, > > I have a resizable stack with resizable objects (fields with variable > textsize). > > When the objects are smaller, the stack may be resized to a smaller size, > as > if they are bigger, so that they don't overlap. I have the flag, when to > stop making the stack smaller, but I tried different approaches stopping > resizing dynamically without success. > > Setting the "resizable of stack" to false if the stack gets too small can't > work, because you can't set it back again to true because the user can't > make it larger anymore. Manipulation the minWidth /minHeight of the stack > doesn't work, because while resizing with mousedown you can't change the > dimension properties of the stack. The are changed, when the user releases > the mouse. > > Where is my fault? Which is the right approach? > > Thanks > > Tiemo > > > > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
