[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

1317.0. "ADB and children resizing" by XANADU::GANAPATHI () Mon Aug 21 1989 18:39

    This is a question on resizing child widgets in an attached dialog box.
    
    I have the following widget hierarchy:
    
     			Main Window
    			    |
    			Attached Dialog box (work area)
    			  /       \
    		     SVN widget   dialog box (control panel)
    
    The dialog box control panel is arranged beneath the SVN widget in the
    ADB. 
    
    When the main window is resized, I would like the SVN widget to grow
    and shrink, but would like the control panel to remain at initial size. 
    
    I tried many different ways of setting the ADB attachment attributes
    for the children widgets, but couldn't get the desired behavior. I am
    wondering whether this is possible at all.
    
    Any ideas will be appreciated. I haven't reproduced the actual UIL
    code, to avoid clutter, but will be happy to supply it if anyone is
    interested.
    
    thanks,
    
    jay 

T.RTitleUserPersonal
Name
DateLines
1317.1is this what you're interested in?SMAUG::FLOWERSIBM Interconnect Eng. 226-7716Tue Aug 22 1989 11:1215
This sounds similar to a setup we used...

	- try attaching the left, right, and top of the SVN to the ADB
	- attach the bottom of the SVN to the control panel

	- attach the left, right, and bottom of the control panel to 
	  the ADB 
	- give the control panel a height attibute.


This will allow for width resizing of both the SVN and control panel...but
the height of the control panel will remain constant.

Dan

1317.2using the 'command window' child of main windowRTL::OBRYANWhen in doubt, let the user decide.Sat Oct 14 1989 00:1724
re:.0                         -< ADB and children resizing >-

>    I have the following widget hierarchy:
>    
>     			Main Window
>    			    |
>    			Attached Dialog box (work area)
>    			  /       \
>    		     SVN widget   dialog box (control panel)

>    The dialog box control panel is arranged beneath the SVN widget in the
>    ADB. 
>    When the main window is resized, I would like the SVN widget to grow
>    and shrink, but would like the control panel to remain at initial size. 
You might also consider designating the (control panel) dialog as the command
window child of the main window, and let main window worry about the resizing.

				  Main Window
				 /	     \
	Attached Dialog box (work area)   dialog box (command window)
		 |
	     SVN widget