- fixed the workspace being always A4
- added a label in the status bar to show if the workplace is active and what size it is
This commit is contained in:
@@ -417,12 +417,17 @@ class PlotCanvasLegacy(QtCore.QObject):
|
||||
self.axes.add_line(self.workspace_line)
|
||||
self.canvas.draw()
|
||||
|
||||
self.app.ui.wplace_label.set_value(workspace_size[:3])
|
||||
self.app.ui.wplace_label.setToolTip(workspace_size)
|
||||
self.app.ui.wplace_label.show()
|
||||
|
||||
def delete_workspace(self):
|
||||
try:
|
||||
self.axes.lines.remove(self.workspace_line)
|
||||
self.canvas.draw()
|
||||
except Exception:
|
||||
pass
|
||||
self.app.ui.wplace_label.hide()
|
||||
|
||||
def graph_event_connect(self, event_name, callback):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user