Move widget tree pane to the right side of Page Editor

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-09-22 21:35:57 +03:00
co-authored by Claude Opus 4.6
parent cbf1010c16
commit 74c169a401
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -203,14 +203,14 @@ class OxPageViewPanel:
body = ttk.PanedWindow(self.frame, orient=tk.HORIZONTAL)
body.pack(fill=tk.BOTH, expand=True)
tree_frame = ttk.Frame(body)
self._build_widget_tree(tree_frame)
body.add(tree_frame, weight=0)
canvas_frame = ttk.Frame(body)
self._build_canvas(canvas_frame)
body.add(canvas_frame, weight=1)
tree_frame = ttk.Frame(body)
self._build_widget_tree(tree_frame)
body.add(tree_frame, weight=0)
def _build_widget_tree(self, parent):
ttk.Label(parent, text="Widgets", font=("TkDefaultFont", 9, "bold")).pack(
anchor="w", padx=4, pady=(4, 2))