grantfayvor / gridify

Have you ever wanted gridlines directly in your browser to measure lines while developing? Then this is for you. You can also measure distances between elements in pixels. Swell right.
Apache License 2.0
0 stars 0 forks source link

Opt-in for Ruler Units #3

Open obumnwabude opened 3 years ago

obumnwabude commented 3 years ago

Description

Currently, the top and left rulers on the screen when Hex Grid is activated are made of short lines spaced out by 10px and bolder lines that occur at 100px, just as most rulers. The rulers however do not have units and the units could be of great help in using Hex Grid.

Describe the solution you'd like

A possible solution could be having the ruler units option toggleable in the right-click context menu of Hex Grid in Chrome. It could be turned off by default. But when turned on, the rulers could have the 100px units in view.

grantfayvor commented 3 years ago

What would this be used for though? Give me a use case for it.

obumnwabude commented 3 years ago

For estimation and getting pixel distance

Instead of dragging grid lines when Hex Grid is activated, merely looking at the rulers (with units) could help estimate/determine distances in some cases.

It could also help visualise the growth of the size of a responsive/fluid element, while changing the screen/browser size.