mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Refine geometry of idlelib htests (and a few other fix-ups).
This commit is contained in:
parent
cd5e388c39
commit
a748032653
19 changed files with 52 additions and 58 deletions
|
@ -38,8 +38,8 @@ def _dyn_option_menu(parent): # htest #
|
|||
|
||||
top = Toplevel(parent)
|
||||
top.title("Tets dynamic option menu")
|
||||
top.geometry("200x100+%d+%d" % (parent.winfo_rootx() + 200,
|
||||
parent.winfo_rooty() + 150))
|
||||
x, y = map(int, parent.geometry().split('+')[1:])
|
||||
top.geometry("200x100+%d+%d" % (x + 250, y + 175))
|
||||
top.focus_set()
|
||||
|
||||
var = StringVar(top)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue