jeremywen / JW-Modules

VCV Rack Modules
BSD 3-Clause "New" or "Revised" License
216 stars 26 forks source link

Messed up coordinates system for CenteredLabel #22

Closed wizardishungry closed 6 years ago

wizardishungry commented 6 years ago

I notice that coordinates for layout out labels don't match the coordinates used for placing Knobs, Inputs, etc. I've encountered the same annoyance in my code and was wondering if there was a better way.

jeremywen commented 6 years ago

any idea why my label uses a different coordinate system @AndrewBelt

AndrewBelt commented 6 years ago

The origin of a label is on its left baseline.

jeremywen commented 6 years ago

No the coordinate system is like mm or something

On Feb 10, 2018, at 1:39 PM, Andrew Belt notifications@github.com wrote:

The origin of a label is on its left baseline.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

wizardishungry commented 6 years ago

I think we're doubling our coordinates for some reason.