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: 10099
Joined: Fri Feb 19, 2010 10:17 am

Measuring stuff

Post by richmond62 » Wed Sep 14, 2016 5:25 pm

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: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Measuring stuff

Post by FourthWorld » Wed Sep 14, 2016 5:30 pm

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: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: Measuring stuff

Post by richmond62 » Wed Sep 14, 2016 5:34 pm

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: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Measuring stuff

Post by FourthWorld » Wed Sep 14, 2016 5:45 pm

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: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: Measuring stuff

Post by richmond62 » Wed Sep 14, 2016 6:49 pm

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: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Measuring stuff

Post by mwieder » Thu Sep 15, 2016 12:05 am

Why did Richmond carry a ruler with him?

In case it reigned.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: Measuring stuff

Post by richmond62 » Thu Sep 15, 2016 8:24 am

rulerDrag.png
Here's a variant with grab handles.
rulerDrag.png
Attachments
RulerDrag.zip
(52.06 KiB) Downloaded 148 times

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: Measuring stuff

Post by richmond62 » Thu Sep 15, 2016 6:22 pm

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

Post Reply