From 7cd74edb10c57511515127917ee4477d5adb036a Mon Sep 17 00:00:00 2001 From: wangWking <842749351@qq.com> Date: Mon, 9 May 2022 10:20:20 +0800 Subject: [PATCH] fix UI window bug --- .../new_mycobot_320_pi/scripts/mycobot_320_simple_gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mycobot_320/new_mycobot_320_pi/scripts/mycobot_320_simple_gui.py b/mycobot_320/new_mycobot_320_pi/scripts/mycobot_320_simple_gui.py index f1eccc6..f21dad1 100755 --- a/mycobot_320/new_mycobot_320_pi/scripts/mycobot_320_simple_gui.py +++ b/mycobot_320/new_mycobot_320_pi/scripts/mycobot_320_simple_gui.py @@ -32,7 +32,7 @@ class Window: # calculate x and y coordinates for the Tk root window x = (self.ws / 2) - 190 y = (self.hs / 2) - 250 - self.win.geometry("430x370+{}+{}".format(x, y)) + self.win.geometry("430x400+{}+{}".format(x, y)) # 布局 self.set_layout() # 输入部分