Skip to content

Conversation

@parceval
Copy link

added configuration parameter to adjust the font scaling for displaying the dimensions and constraints in the drawing window.

@ruevs
Copy link
Member

ruevs commented Mar 17, 2025

@parceval Why is this needed?

Are you aware of the "styles" function of SolveSpace?
image

@parceval
Copy link
Author

Yes i know about styles, but this is a global scaling parameter applied to all styles on top of it.

@ruevs
Copy link
Member

ruevs commented Mar 17, 2025

Yes i know about styles, but this is a global scaling parameter applied to all styles on top of it.

But why is it needed/useful?

@parceval
Copy link
Author

For me it is useful because i use multiple screens with different resolutions, one is 4k and the other is hd, and its easier to adjust one value, than changing the size in all styles.

@phkahler
Copy link
Member

@parceval so this is a global size applied in addition to the style specific sizes, is that correct?

@parceval
Copy link
Author

@parceval so this is a global size applied in addition to the style specific sizes, is that correct?

Exactly.

@phkahler
Copy link
Member

@parceval why does this use MmtoString and StringToMm? This scale factor should not depend on what units are selected. Or am I confusing those functions with those that convert units to/from mm?

That'd be weird to do float<-->string operations in a function and claim mm is relevant in the function name if it's not.

BTW, sorry about the delay looking at this - it seems reasonable.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants