Skip to content

Commit

Permalink
gmoccapy: expand G-code editor in edit mode
Browse files Browse the repository at this point in the history
This was not needed with the Gtk.Paned, but without this needs to be done manually.
  • Loading branch information
hansu committed Jan 12, 2025
1 parent b481d6e commit a3b4071
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/emc/usr_intf/gmoccapy/gmoccapy.py
Original file line number Diff line number Diff line change
Expand Up @@ -5187,6 +5187,7 @@ def on_btn_edit_clicked(self, widget, data=None):
self.widgets.ntb_preview.hide()
self.widgets.grid_DRO.hide()
self.widgets.vbox14.hide()
self.widgets.vbox_jog.set_hexpand(True)
self.widgets.box_dro_side.hide()
if not self.widgets.vbx_jog.get_visible():
self.widgets.vbx_jog.set_visible(True)
Expand Down Expand Up @@ -5265,6 +5266,7 @@ def on_ntb_button_switch_page(self, *args):
self.widgets.ntb_preview.show()
self.widgets.grid_DRO.show()
self.widgets.vbox14.show()
self.widgets.vbox_jog.set_hexpand(False)
self.widgets.box_dro_side.show()
self.widgets.gcode_view.set_sensitive(False)
self.widgets.btn_save.set_sensitive(True)
Expand Down

0 comments on commit a3b4071

Please sign in to comment.