diff options
author | das <das> | 2007-04-23 21:16:43 (GMT) |
---|---|---|
committer | das <das> | 2007-04-23 21:16:43 (GMT) |
commit | 621a481580aa29b835a6bde3b6f83469140f1f57 (patch) | |
tree | 7e60574cc69f8e080f34339f6432bbe514851cde /library/tk.tcl | |
parent | 97873b5cca440eeaaf3787bc7d4fa5188b2510d3 (diff) | |
download | tk-621a481580aa29b835a6bde3b6f83469140f1f57.zip tk-621a481580aa29b835a6bde3b6f83469140f1f57.tar.gz tk-621a481580aa29b835a6bde3b6f83469140f1f57.tar.bz2 |
* library/bgerror.tcl: on aqua, use moveable alert resp. modal dialog
* library/dialog.tcl: window class and corresponding system
background pattern; fix button padding.
* library/tearoff.tcl: correct aqua menu bar height; vertically offset
* library/tk.tcl: aqua tearoff floating window to match menu.
Diffstat (limited to 'library/tk.tcl')
-rw-r--r-- | library/tk.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/tk.tcl b/library/tk.tcl index 09ac18a..9eec59b 100644 --- a/library/tk.tcl +++ b/library/tk.tcl @@ -3,7 +3,7 @@ # Initialization script normally executed in the interpreter for each # Tk-based application. Arranges class bindings for widgets. # -# RCS: @(#) $Id: tk.tcl,v 1.60 2006/10/31 01:42:26 hobbs Exp $ +# RCS: @(#) $Id: tk.tcl,v 1.61 2007/04/23 21:16:43 das Exp $ # # Copyright (c) 1992-1994 The Regents of the University of California. # Copyright (c) 1994-1996 Sun Microsystems, Inc. @@ -128,7 +128,7 @@ proc ::tk::PlaceWindow {w {place ""} {anchor ""}} { } if {[tk windowingsystem] eq "aqua"} { # Avoid the native menu bar which sits on top of everything. - if {$y < 20} { set y 20 } + if {$y < 22} { set y 22 } } } wm geometry $w +$x+$y |