Menu

#1464 Toplevel menu doesn't request height.

obsolete: 8.4.2
open
5
2007-08-18
2003-04-23
Anonymous
No

Has been observed with Linux + KDE and Linux +
WindowMaker.

[code]
global var lbvar
set lbvar
{}
listbox .lstbx -height 20 -listvar lbvar
for {set z 0} {$z < 19}
{incr z} {lappend lbvar $z}
lappend lbvar "Try to make me
smaller"
pack .lstbx

if {$argc} {
menu .foo
.foo
add cascade -label "Bar" -menu .bar
menu .bar -type normal -
tearoff 0
.bar add command -label "Barian" -command {}
.
configure -menu .foo
}

update

wm minsize .
[winfo reqwidth .] [winfo reqheight .]
[/code]

Discussion

  • Todd Helfter

    Todd Helfter - 2003-09-02

    Logged In: YES
    user_id=92123

    Confirmed, I was able to reproduce this on redhat9->wish8.3
    and solaris9->wish8.4 & wish8.5a0

     
  • Donal K. Fellows

    • assigned_to: tmh --> hobbs
     
MongoDB Logo MongoDB