Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestions: Add additional padding to elements #90

Closed
RURon opened this issue Dec 14, 2016 · 9 comments
Closed

Suggestions: Add additional padding to elements #90

RURon opened this issue Dec 14, 2016 · 9 comments
Assignees
Milestone

Comments

@RURon
Copy link

RURon commented Dec 14, 2016

Hello Mikhus, great piece of code, thank you!

I only miss one thing to make "my" gauge look perfect: Over here the numbers in the gauge are touching the main ticks. Unfortunately this is only with some of the ticks...maybe have a look at my screenshot - I'm using the default font. Especially the 11 and 13 look bad.

14-12-_2016_17-41-49

@Mikhus
Copy link
Owner

Mikhus commented Dec 14, 2016

Could you please share your gauge config? That's interesting case I want to investigate it.

@RURon
Copy link
Author

RURon commented Dec 15, 2016

Sure! Here you go...
testgauge.txt

@Mikhus
Copy link
Owner

Mikhus commented Dec 15, 2016

Aha, I see. So the problem here when you increase numbers font size. Currently I can suggest you to decrease numbers font size from 30 to 25 or 20. In the next release I will add auto-detection of numbers position relatively to the font-size to fix this.

@Mikhus Mikhus self-assigned this Dec 15, 2016
@Mikhus Mikhus added this to the 2.1.1 milestone Dec 15, 2016
@RURon
Copy link
Author

RURon commented Dec 15, 2016 via email

@RURon
Copy link
Author

RURon commented Dec 15, 2016

While at it, maybe a vertical adjustment option to move the unit label ("Volt" in my example) could be neat as well when playing around with different fonts and all that

@Mikhus
Copy link
Owner

Mikhus commented Dec 16, 2016

Good suggestion, thank you. I'll see what can I do for the next release here.

Mikhus added a commit that referenced this issue Dec 28, 2016
@Mikhus
Copy link
Owner

Mikhus commented Dec 28, 2016

Automatic font size detection on drawing is implemented in branch v2.1.1

@Mikhus
Copy link
Owner

Mikhus commented Dec 29, 2016

Margins implemented in v2.1.1

@Mikhus Mikhus closed this as completed Dec 29, 2016
@RURon
Copy link
Author

RURon commented Jan 23, 2017

beautiful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants