优化UI加载速度
This commit is contained in:
@@ -15,7 +15,7 @@ if TYPE_CHECKING:
|
||||
|
||||
def create_log_panel(self: "PQAutomationApp"):
|
||||
"""创建日志面板"""
|
||||
self.log_frame = ttk.Frame(self.content_frame)
|
||||
self.log_frame = ttk.Frame(self.view_stack)
|
||||
self.log_gui = PQLogGUI(self.log_frame)
|
||||
self.log_gui.pack(fill=tk.BOTH, expand=True, padx=10, pady=10)
|
||||
|
||||
@@ -30,7 +30,7 @@ def create_log_panel(self: "PQAutomationApp"):
|
||||
|
||||
def create_local_dimming_panel(self: "PQAutomationApp"):
|
||||
"""创建 Local Dimming 测试面板。"""
|
||||
self.local_dimming_frame = ttk.Frame(self.content_frame)
|
||||
self.local_dimming_frame = ttk.Frame(self.main_view)
|
||||
|
||||
# 主容器
|
||||
main_container = ttk.Frame(self.local_dimming_frame, padding=10)
|
||||
|
||||
Reference in New Issue
Block a user