remove mysterious -width 1 -height 1 options when creating .graphdialog toplevel window. It seems a long standing bug, and not surprisingly it shows problems on MacOS/XQuartz

This commit is contained in:
stefan schippers 2023-09-15 18:08:26 +02:00
parent ac07510513
commit cb1b8a09a6
1 changed files with 2 additions and 1 deletions

View File

@ -1944,8 +1944,9 @@ proc graph_edit_properties {n} {
if { [winfo exists .graphdialog]} {
set geom [winfo geometry .graphdialog]
}
puts "geom-->$geom"
catch {destroy .graphdialog}
toplevel .graphdialog -width 1 -height 1
toplevel .graphdialog ;# -width 1 -height 1
update idletasks
if {$geom ne {}} { wm geometry .graphdialog $geom}