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

[TD] automatically update dimension format #3260

Closed
wants to merge 3 commits into from

Conversation

@donovaly
Copy link
Contributor

donovaly commented Mar 25, 2020

@donovaly

This comment has been minimized.

Copy link
Contributor Author

donovaly commented Mar 25, 2020

There emerged a potentially more clean solution: https://forum.freecadweb.org/viewtopic.php?f=35&t=44520&p=380516#p380516

@donovaly donovaly changed the title [TD] automatically update dimension format [Don't merge] [TD] automatically update dimension format Mar 25, 2020
@donovaly donovaly changed the title [Don't merge] [TD] automatically update dimension format [TD] automatically update dimension format Mar 26, 2020
@donovaly

This comment has been minimized.

Copy link
Contributor Author

donovaly commented Mar 26, 2020

OK, if it is impossible that "%.g" would also take the alternate decimals, this patch is the best solution because it assures that always the set number of decimals will be used (for the cost that the format is lost of course). But at the moment the default format is "%.2f" and is blocking any change in the number of decimals.

@WandererFan

This comment has been minimized.

Copy link
Contributor

WandererFan commented Mar 26, 2020

We are over-complicating this. See forum post

@donovaly donovaly deleted the donovaly:TD-unitFormat-fix branch Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.