some fix one paint tool
This commit is contained in:
parent
1114e4b975
commit
5a81adc653
3 changed files with 31 additions and 10 deletions
|
@ -70,4 +70,10 @@ class Marker(Dialog):
|
|||
|
||||
def position(self):
|
||||
print(self.winfo_width(), self.winfo_height())
|
||||
self.geometry("+{}+{}".format(self.app.master.winfo_x, self.app.master.winfo_y))
|
||||
# print(self.app.master.winfo_x(), self.app.master.winfo_y())
|
||||
print(self.app.canvas.winfo_rootx())
|
||||
self.geometry(
|
||||
"+{}+{}".format(
|
||||
self.app.canvas.winfo_rootx(), self.app.canvas.master.winfo_rooty()
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue