Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
When I add a push button to a previously empty option menu, the option menu doesn't extend itself to the size of the text. When I press on the option menu the pulldown entry size is correct, but even when the menu shows a selected item it doesn't expand to show all the text. Is there some way to force it to resize to fit the length of the text? I've tried XtQueryGeometry on the pulldown to then XtMakeResizeRequest on the option menu with the values from the pulldown, but that doesn't seem to make it budge. What am I missing? William
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
685.1 | Oh well | CASEE::LACROIX | Gone with the wind | Thu Apr 27 1989 05:34 | 12 |
Re .0: Known restriction. I don't think there's a fix, nor do I believe there will be one, but you can hack around by specifying a dummy string of the appropriate length at creation time. Kind of brain damaged, I agree. Denis. PS: Such question are probably more relevant to CLT::DECWTOOLKIT or HARBOR::DECWINDOWS_PROGRAMMING. | |||||
685.2 | wish list item | 15395::HSU | Thu Apr 27 1989 17:10 | 7 | |
Well in that case, I'd like to make dynamic option menu entry box resizing a wish list item, for all those DECwindows developers out there. Actually, it would be nice if the option menu had the conform_to_text attribute that the pulldown menu entry has. William |