[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

2634.0. "ADB resize problem" by SUBWAY::LYONS () Fri Apr 20 1990 13:25

    How can you prevent a popup attached dialog box from shrinking to
    an unacceptable size during a resize operation?  I am trying to
    prevent overlap of the children.  Thanks.
T.RTitleUserPersonal
Name
DateLines
2634.1give it Height and Width ...VMSDEV::KRIEGERFri Apr 20 1990 17:065
    
    give the popup attached dialog box a height and a width  ...
    
    jgk
    
2634.2Shell minWidth and HeightR2ME2::OBRYANWhen in doubt, let the user decide.Sun Apr 22 1990 10:3816
re:.0

>    How can you prevent a popup attached dialog box from shrinking to
>    an unacceptable size during a resize operation?
All popup-style widgets have a Shell parent.  Shell's have two resources
to establish minimum dimensions:
	XtNminWidth, XtNminHeight
You might try setting these Shell resources [ XtParent(dialog)] to reasonable
values... Of course, "reasonable values" will vary depending on:
	1.  Monitor resolution
	2.  Default dialog font (if you're using font units)
	3.  Any other factor which will cause variations in the position
	and size of the dialog children

Michael