Skip to content

Commit 31f01eb

Browse files
committed
Trim default-visible tabs to the last three of the previous set
The launcher used to open with six tabs visible (auto_click, screenshot, image_detect, record, script_builder, remote_desktop) which made the toolbar crowded before the operator had even chosen a workflow. Drop the first three to default-hidden so the GUI opens focused on the last three — record / script_builder / remote_desktop — which together cover the common capture → script → drive-remotely flow. The earlier core tabs are still registered and reachable through the View menu's tab list; only their default visibility flipped.
1 parent 51fc521 commit 31f01eb

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

je_auto_control/gui/main_widget.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,17 @@ def __init__(self, parent=None):
8787
self.tabs.setTabsClosable(True)
8888
self.tabs.tabCloseRequested.connect(self._on_tab_close_requested)
8989

90+
# Default UI keeps only the last three of the previously-visible
91+
# tabs (record / script_builder / remote_desktop) so the launcher
92+
# opens on a focused capture+script+remote workflow. The earlier
93+
# core tabs (auto_click / screenshot / image_detect) are still
94+
# registered and reachable from the View menu's "show tab" list.
9095
self._add_tab("auto_click", "tab_auto_click", self._build_auto_click_tab(),
91-
category="core", default_visible=True)
96+
category="core")
9297
self._add_tab("screenshot", "tab_screenshot", self._build_screenshot_tab(),
93-
category="core", default_visible=True)
98+
category="core")
9499
self._add_tab("image_detect", "tab_image_detect", self._build_image_detect_tab(),
95-
category="core", default_visible=True)
100+
category="core")
96101
self._add_tab("record", "tab_record", self._build_record_tab(),
97102
category="core", default_visible=True)
98103
self._add_tab("script_builder", "tab_script_builder", ScriptBuilderTab(),

0 commit comments

Comments
 (0)