From 02cfd9671566718e4d799d9d025d0a7fd2afaa88 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Mon, 13 Jan 2020 16:06:29 +0200 Subject: [PATCH] - fixed a small GUI issue in Excellon UI when Basic mode is active --- FlatCAMApp.py | 4 ++-- FlatCAMObj.py | 5 ++++- README.md | 4 ++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/FlatCAMApp.py b/FlatCAMApp.py index 2b25ad8f..43e94c63 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -524,8 +524,8 @@ class App(QtCore.QObject): "global_cursor_type": "small", "global_cursor_size": 20, "global_cursor_width": 2, - "global_cursor_color": '#000000', - "global_cursor_color_enabled": False, + "global_cursor_color": '#FF0000', + "global_cursor_color_enabled": True, # Gerber General "gerber_plot": True, diff --git a/FlatCAMObj.py b/FlatCAMObj.py index 1ba88825..6b98f6f2 100644 --- a/FlatCAMObj.py +++ b/FlatCAMObj.py @@ -2638,7 +2638,10 @@ class FlatCAMExcellon(FlatCAMObj, Excellon): horizontal_header.setDefaultSectionSize(70) horizontal_header.setSectionResizeMode(0, QtWidgets.QHeaderView.Fixed) horizontal_header.resizeSection(0, 20) - horizontal_header.setSectionResizeMode(1, QtWidgets.QHeaderView.ResizeToContents) + if self.app.defaults["global_app_level"] == 'b': + horizontal_header.setSectionResizeMode(1, QtWidgets.QHeaderView.Stretch) + else: + horizontal_header.setSectionResizeMode(1, QtWidgets.QHeaderView.ResizeToContents) horizontal_header.setSectionResizeMode(2, QtWidgets.QHeaderView.ResizeToContents) horizontal_header.setSectionResizeMode(3, QtWidgets.QHeaderView.ResizeToContents) horizontal_header.setSectionResizeMode(4, QtWidgets.QHeaderView.Stretch) diff --git a/README.md b/README.md index 786cbb6b..a30058fc 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,10 @@ CAD program, and create G-Code for Isolation routing. ================================================= +13.01.2020 + +- fixed a small GUI issue in Excellon UI when Basic mode is active + 12.01.2020 - improved the circle approximation resolution