GUI: 修复映射表容器,避免列挤压并修复滚动条问题
This commit is contained in:
1 parent
4b9b6cdf8f
commit
272f3ddae0
1 file changed
+3
-1
+3
-1
@@ -2775,7 +2775,9 @@ def main():
|
||||
mapping_source_var = tk.StringVar(value="未加载")
|
||||
ttk.Label(map_ctrl, textvariable=mapping_source_var).pack(side=LEFT, padx=(8, 0))
|
||||
|
||||
mapping_tree_box = ttk.Frame(mapping_tab)
|
||||
# mapping_tree_box 应该放在 map_box(LabelFrame)内部,
|
||||
# 否则与控件区的布局会错位,导致列显示挤在一起和滚动行为异常。
|
||||
mapping_tree_box = ttk.Frame(map_box)
|
||||
mapping_tree_box.pack(fill=BOTH, expand=True, padx=10, pady=(6, 10))
|
||||
|
||||
mapping_tree = ttk.Treeview(
|
||||
|
||||
Reference in new issue
Block a user