T.R | Title | User | Personal Name | Date | Lines |
---|
2523.1 | Setting dimension to 0... | R2ME2::OBRYAN | When in doubt, let the user decide. | Tue Mar 27 1990 19:07 | 12 |
|
RE:.0
> children it has?? A pulldown is created with, say, 4 push buttons in
> it. Then a set of callbacks are used to create and destroy push
> buttons in the pulldown. All works fine for a while, then the pulldown
> widget will not resize itself correctly and display white space and
> think it has 1 or 2 more push buttons than it really should.
You will probably need to XtSetValue the height (and perhaps the width) to 0
every time a widget is destroyed or unmanaged. (The pulldown is behaving in a
"grow only" manner. Resetting the dimension will cause the widget to rescan
its list of children to reconfigure the height/width.)
|
2523.2 | "it's a child welfare issue..." | RHETT::BONNE | | Wed Mar 28 1990 09:14 | 9 |
| .1
Thanks for the idea, it may help.. But it does seem to correctly
manage the number of children it has up to a point. Then when it
should have 3 children, it has 4 in it's list of children. Then it
manages the children and there are only 3 push buttons to display and
the white space.. Zeroing out the height may force it to keep better
track tho- I'll try it.
Jim
|
2523.3 | Did it work?
| STREEP::MCCAUSLAND | | Wed Apr 18 1990 08:35 | 4 |
| Did the suggestion in .1 work? We have a customer with a similar
problem under VMS.
Andrew
|