Przeglądaj źródła

- small changes: reduced the thickness of the axis in 3D mode from 3 pixels to 1 pixel

Marius Stanciu 6 lat temu
rodzic
commit
5a6c1471e3
2 zmienionych plików z 3 dodań i 2 usunięć
  1. 1 0
      README.md
  2. 2 2
      flatcamGUI/VisPyCanvas.py

+ 1 - 0
README.md

@@ -15,6 +15,7 @@ CAD program, and create G-Code for Isolation routing.
 - updated Optimal Tool to display both points coordinates that made a distance (and the minimum) not only the middle point (which is still the place where the jump happen)
 - added a dark theme to FlatCAM (only for canvas). The selection is done in Edit -> Preferences -> General -> GUI Settings
 - updated the .POT file and worked a bit in the romanian translation
+- small changes: reduced the thickness of the axis in 3D mode from 3 pixels to 1 pixel
 
 6.10.2019
 

+ 2 - 2
flatcamGUI/VisPyCanvas.py

@@ -55,13 +55,13 @@ class VisPyCanvas(scene.SceneCanvas):
         top_padding.height_max = 0
 
         self.yaxis = scene.AxisWidget(
-            orientation='left', axis_color=tick_color, text_color=tick_color, font_size=a_fsize
+            orientation='left', axis_color=tick_color, text_color=tick_color, font_size=a_fsize, axis_width=1
         )
         self.yaxis.width_max = 55
         self.grid_widget.add_widget(self.yaxis, row=1, col=0)
 
         self.xaxis = scene.AxisWidget(
-            orientation='bottom', axis_color=tick_color, text_color=tick_color, font_size=a_fsize,
+            orientation='bottom', axis_color=tick_color, text_color=tick_color, font_size=a_fsize, axis_width=1,
             anchors=['center', 'bottom']
         )
         self.xaxis.height_max = 30