]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42685: Improve placing of simple query windows. (GH-23856)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 24 Dec 2020 18:26:28 +0000 (20:26 +0200)
committerGitHub <noreply@github.com>
Thu, 24 Dec 2020 18:26:28 +0000 (20:26 +0200)
commitc6c43b28746b0642cc3c49dd8138b896bed3028f
tree423617d022b2e4a7f9c1bd5e67c269a37bad174d
parent6ec0adefad60ec7cdec61c44baecf1dccc1461ab
bpo-42685: Improve placing of simple query windows. (GH-23856)

* If parent is specified and mapped, the query widget is
  centered at the center of parent. Its position and size
  can be corrected so that it fits in the virtual root window.
* Otherwise it is centered at the center of the screen.
Lib/tkinter/simpledialog.py
Misc/NEWS.d/next/Library/2020-12-19-17-32-43.bpo-42685.kwZlwp.rst [new file with mode: 0644]