[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
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 |
2387.0. "S Text widget under shell widget??" by KAOU35::DLEROUX () Fri Mar 02 1990 15:28
I am having problems with the simple text widget. When the S Text
widget is a child of the shell widget or the main_window_widget it does
not resize itself. Why is that? Is there a way around this?
I have noticed that if I add a parent dialog box to my s text widget it
does resize itself.
Here's my uil code :
object
draw_text : simple_text {
arguments {
cols = 2;
rows = 1;
half_border = false;
border_width = 0;
};
callbacks {
create = procedure create_proc( K_DRAW_TEXT );
};
};
The "draw_text" widget will resize itself if it has a dialog box parent
but it won't as a direct child of the main window widget or as a
child of the shell widget. The problem is that I want it as a direct
child of the main window or shell widget. The main window widget's
height and width are set to 0 and the shell allowShellResize attribute
is set to true. The main window already has several children and they
do resize themselves correctly.
Thanks
Dan
T.R | Title | User | Personal Name | Date | Lines
|
---|