diff --git a/configs/sim/gmoccapy/gmoccapy_800x600.py b/configs/sim/gmoccapy/gmoccapy_800x600.py index 0d5bd1ed1e4..5b585bd9510 100644 --- a/configs/sim/gmoccapy/gmoccapy_800x600.py +++ b/configs/sim/gmoccapy/gmoccapy_800x600.py @@ -52,5 +52,30 @@ box_info.pack_end(self.widgets["ntb_info"], False, False, 0) self.widgets["ntb_user_tabs"].append_page(box_info, Gtk.Label("Info")) - +buttons = [ "btn_homing", "btn_touch", "btn_tool", "btn_exit", "btn_load", + "btn_reload", "btn_run", "btn_stop", "btn_step", "btn_from_line", "btn_edit", + "btn_delete", "btn_classicladder", "btn_hal_scope", "btn_status", + "btn_hal_meter", "btn_calibration", "btn_show_hal", "btn_reload_edit", + "btn_save", "btn_save_as", "btn_new", "btn_keyb", "btn_back_edit", + "btn_delete_tool", "btn_add_tool", "btn_reload_tooltable", + "btn_apply_tool_changes", "btn_select_tool_by_no", "btn_index_tool", + "btn_change_tool", "btn_tool_touchoff_x", "btn_tool_touchoff_z", + "btn_back_tool", "btn_home", "btn_dir_up", "btn_sel_prev", "btn_sel_next", + "btn_jump_to", "btn_select", "btn_back_file_load", "tbtn_estop", "tbtn_on", + "tbtn_user_tabs", "tbtn_setup", "tbtn_switch_mode", "tbtn_fullsize_preview0", + "tbtn_pause", "tbtn_optional_blocks", "tbtn_fullsize_preview1", "rbt_manual", + "rbt_mdi", "rbt_auto" ] +labels = [ "lbl_space_0", "lbl_space_1", "lbl_space_2", "lbl_replace_mode_btn", + "lbl_space_3", "lbl_space_4", "lbl_version", "lbl_space_5", "lbl_space_6", + "lbl_space_7", "lbl_space_8", "lbl_space_9", "lbl_hide_tto_x", + "lbl_space_10", "lbl_space_11", "lbl_space_12" ] + +for b in buttons: + self.widgets[b].set_size_request(60, 56) + +for l in labels: + self.widgets[l].set_size_request(60, 56) + + +# self.widgets.window1.fullscreen() diff --git a/src/emc/usr_intf/gmoccapy/gmoccapy.py b/src/emc/usr_intf/gmoccapy/gmoccapy.py index ae82be614b8..6e748448103 100644 --- a/src/emc/usr_intf/gmoccapy/gmoccapy.py +++ b/src/emc/usr_intf/gmoccapy/gmoccapy.py @@ -94,7 +94,7 @@ def excepthook(exc_type, exc_obj, exc_tb): #_BB_HOME_JOINTS will not be used, we will reorder the notebooks to get the correct page shown # Default button size for bottom buttons -_DEFAULT_BB_SIZE = (90, 56) +_DEFAULT_BB_SIZE = (60, 56) _TEMPDIR = tempfile.gettempdir() # Now we know where the tempdir is, usually /tmp