When you say "almost perfect but not quite” what exactly are you meaning?

—Scott

> On Oct 28, 2020, at 11:04 AM, William de Smet via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hi there,
> 
> I need 3 vertical lines in my iOS app with equal distance and from top to
> bottom.
> So I use the script below. It is almost perfect but not quite.
> Is there a better way to do this?
> ------
> *s*et the loc of grc "line1" to cardWidth/4, cardHeight/2
> set the loc of grc "line2" to cardWidth/2, cardHeight/2
> set the loc of grc "line3" to cardWidth/1.33, cardHeight/2
> 
> set the height of grc "line1" to cardHeight
> set the height of grc "line2" to cardHeight
> set the height of grc "line3" to cardHeight
> ------
> 
> greetings,
> 
> William
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to