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 |
In my uil file I have declared a attached_dialog_box with a menu bar and pull down menus. I fetch them in once and fetch a work_area_menu widget as a child of the attached_dialog_box in run time. Also in run time I create the toggle buttons in the work_area_menu. Everything is fine until the number of choices (toggle buttons) is more than 7 or 8. Then instead of the attached_dialog_box expanding the choices go into the second column in the ADB. Also if the label in the toggle button goes over the width of the dialog box the ADB doesn't expand and only the label until the width of ADB is seen. Is it because the work_area_menu was not declared as child in UIL file.Can anyone suggest what could be the problem. POPUPSHELL --> Attached_Dialog_Box | | MenuBar Work Area Menu \ | | \ These two are created at run PullDown Menus Toggle Buttons \ time using low level routines.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
988.1 | R2ME2::BENNISON | Victor L. Bennison DTN 381-2156 ZK2-3/R56 | Thu Jun 22 1989 13:33 | 7 | |
This is standard behavior in menus. You can try setting orientation to horizontal and menu_num_columns to one (that's interpreted to mean "rows" in the horizontal orientation). As a last resort you can try setting menu_packing to none and position all your toggles yourself. - Vick |