Measuring stuff

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Measuring stuff

Post by richmond62 »

rulerz.png
Original file deleted as updated version available lower down the page.
Last edited by richmond62 on Thu Sep 15, 2016 6:23 pm, edited 1 time in total.
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Measuring stuff

Post by FourthWorld »

Have you seen View -> Rulers in the IDE?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Measuring stuff

Post by richmond62 »

Have you seen View -> Rulers in the IDE?
But, on clicking I get nothing in either 7.1.4 or 8.1 on Xubuntu.
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Measuring stuff

Post by FourthWorld »

It was slightly fiddly on Ubuntu at first for me, almost like it needed to be kickstarted to get going. Definitely needs a toplevel stack to be opened, and I find the rulers were reliably present when I had at least one control on the card in that stack. Not yet sure if a bug or a feature; can't say I use the rulers often.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Measuring stuff

Post by richmond62 »

Yes, you are right, rulers only show up when there is a stack open because they are "local" rulers
linked to the stack; and if one has 2 stacks open the ruler ONLY is of any use for the top stack.

I much prefer my Rulers because they are independent of individual stacks so can be used for
comparison between stacks: they are global.
rulers2.png
Why did Richmond take a ruler to bed with him?

To see how long he slept.
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3582
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Measuring stuff

Post by mwieder »

Why did Richmond carry a ruler with him?

In case it reigned.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Measuring stuff

Post by richmond62 »

rulerDrag.png
Here's a variant with grab handles.
rulerDrag.png
Attachments
RulerDrag.zip
(52.06 KiB) Downloaded 205 times
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Measuring stuff

Post by richmond62 »

rulerzARROW1.png
rulerzARROW1.png (34.78 KiB) Viewed 4371 times
Updated version with arrows for repositioning.
Ruler.livecode.zip
Here's the stack
(84.38 KiB) Downloaded 222 times
Post Reply