Gala: Show selection dimensions (aka, ruler) as in OSX

Created on 18 Jun 2018  路  4Comments  路  Source: elementary/gala

Obligatory OSX screenshot:
osx ruler


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Most helpful comment

I think I'd like to take this one on for #hacktoberfest!

All 4 comments

I think I'd like to take this one on for #hacktoberfest!

@danrabbit @cassidyjames I'm not sure who to mention for UI/UX questions, so please mention more appropriate people if necessary.

I've been coding this to show the numbers outside the box next to the cursor. I'm curious what behavior we want to have for when the numbers hit the edge of displayable space? Do they just go behind the edge of the monitor? Do they move to inside the box near the cursor? I"m not sure how OSX does it.

Thoughts?

@seesemichaelj would it work to display the dimensions in the middle of the rubberband area? That would not work for _tiny_ dimensions, so I'm not sure how we'd handle that edge case.

It should yup! We can do a W x H and if the rubberband area gets too small length-wise, we can make it vertical without the x. The text should not be hidden by the rubberband area, but should be laid on top if it gets too small

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hanaral picture hanaral  路  4Comments

danrabbit picture danrabbit  路  3Comments

hanaral picture hanaral  路  4Comments

waldyrious picture waldyrious  路  4Comments

peteruithoven picture peteruithoven  路  3Comments