added text size scale configuration. Its used to render the dimension…#1545
added text size scale configuration. Its used to render the dimension…#1545parceval wants to merge 1 commit intosolvespace:masterfrom
Conversation
…s and constraints in drawing window.
|
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? |
|
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. |
|
@parceval so this is a global size applied in addition to the style specific sizes, is that correct? |
Exactly. |
|
@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. |
|
@parceval This needs to convert number to string without involving the currently selected units. You'll get really weird and inconsistent results. |

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