- moved the canvas setup into it's own function and called it in the init() function

This commit is contained in:
Marius Stanciu
2019-08-22 17:23:39 +03:00
parent bd8f607b32
commit c2991b969b
3 changed files with 45 additions and 34 deletions

View File

@@ -846,6 +846,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
self.plot_tab_area.addTab(self.plot_tab, _("Plot Area"))
self.right_layout = QtWidgets.QVBoxLayout()
self.right_layout.setObjectName("right_layout")
self.right_layout.setContentsMargins(2, 2, 2, 2)
self.plot_tab.setLayout(self.right_layout)