Draft: Allow to change grid color in WP taskpanel#13051
Draft: Allow to change grid color in WP taskpanel#13051Roy-043 merged 4 commits intoFreeCAD:mainfrom
Conversation
|
There are some issues with the code. But before discussing that, I have my doubts about the idea itself. In my mind changing the grid color is not a frequent occurrence and therefore I would not expect to see this feature in the Draft_SelectPlane task panel. And why only the grid color and not the other visual aspects of the grid (transparency, colored axes, human figure...)? |
|
This was mostly because when you change the UI theme, your grid color often needs to be changed too. And it takes a lot of tweaking to find the right color for a certain background color. When you need to go to the preferences, then restart FreeCAD to see the changes, this takes a lot of effort. Now with this, you can much more easily tweak the grid to exactly the right aspect and intensity you want. The other settings are indeed not so important to set often, that's basically why I left them out. |
|
Yes, the |
|
Okay for me |
If you change the grid color in the preferences and cick the Apply button, the color of all grids is updated now. So you can experiment while the Preferences Editor is open. I have kept but moved the grid color button in the Draft_SelectPlane task panel for now. So that both options can be tested.
|
Thanks for the fix! This PR now depends on a fix in the params observer, right? |
|
The param observer already triggered the correct functions. Not changes were needed there. |
This adds a color button to the task panel that appears when pressing the Draft working plane button, that allows to change the grid color