Snapping objects to a grid

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Snapping objects to a grid

Post by bidgeeman » Sat May 30, 2009 3:09 am

Is there a way to have objects like buttons etc snap to a grid or a set area in the Runrev interfface? It feels as if there is a snapping function there when dragging things around but is there any way to increase the size of this?

Thanks
Bidge

acidjazz
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 93
Joined: Mon Feb 16, 2009 2:37 am

Post by acidjazz » Sat May 30, 2009 7:13 am

Bidge,

Edit -> Preferences -> Appearance -> Grid Spacing


Cheers,
Mark

bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Post by bidgeeman » Sat May 30, 2009 7:23 am

Ahhh,....There it is. thanks acidjazz.

Cheers
Bidge

gmccarthy
Posts: 62
Joined: Sat Feb 17, 2007 4:56 am

RE Snapping objects to a grid

Post by gmccarthy » Sat May 30, 2009 7:43 am

Check out grid and gridsize in the dictionary for adjusting in scripts.

Gerard

bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Post by bidgeeman » Sat May 30, 2009 8:02 am

Thanks Gerard. Very usefull.

Cheers
Bidge

Post Reply