[plt-scheme] editor-canvas% and popup-menu%

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Apr 18 13:05:18 EDT 2006

At Mon, 17 Apr 2006 06:24:42 -0600, Matthew Flatt wrote:
> At Thu, 13 Apr 2006 11:25:24 +0200 (CEST), Ivanyi Peter wrote:
> > 2. popup-menu%
> > Below you can find a little code, which I think, was
> > published in this
> > list. My problem is with the set-min-width method for the
> > popup-menu%
> > widget. It simply does not work. No matter what value I
> > specify it only
> > creates widgets with the size of the text.

Windows doesn't seem to provide a nice way to set the minimum width of
a popup menu.

I've committed a hack to the SVN repository; when the minimum width is
requested, MrEd adds an unselectable item to the end of the menu that's
roughly the requested length.


Posted on the users mailing list.