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 |
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.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1317.1 | is this what you're interested in? | SMAUG::FLOWERS | IBM Interconnect Eng. 226-7716 | Tue Aug 22 1989 11:12 | 15 |
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.2 | using the 'command window' child of main window | RTL::OBRYAN | When in doubt, let the user decide. | Sat Oct 14 1989 00:17 | 24 |
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 |