my $y1 = ($w->{_BE_Style} eq 'MSWin32' ? $a->rooty + $a->height : $e->rooty + $e->height + 3 # : $b->rooty + $e->height + 3 #edited ); my $bd = $c->cget(-bd) + $c->cget(-highlightthickness); # using the real listbox reqheight rather than the # container frame one, which does not change after resizing the # listbox my $ht = $s->Subwidget("scrolled")->reqheight + 2 * $bd; my $x1 = ($w->{_BE_Style} eq 'MSWin32' ? $e->Subwidget("entry")->rootx # ? $b->rootx #edited : $e->rootx # : $b->rootx #edited );