[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

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

685.0. " option menu won't resize" by VIEW3D::HSU () Wed Apr 26 1989 15:42

    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.RTitleUserPersonal
Name
DateLines
685.1Oh wellCASEE::LACROIXGone with the windThu Apr 27 1989 05:3412
    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.2wish list item15395::HSUThu Apr 27 1989 17:107
    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