I think this is actually a problem with the Clip window of the ScrolledWindow.
Using EditRes you can see that the Text widget _is_ the correct size, but it is
being clipped.

On 12-Mar-03 at 02:19, Dale Walker ([EMAIL PROTECTED]) wrote:
> 
> BUG in lesstif - does not size text widget properly,
> forcing a call to its resize intrinsic fixes things.
> 
> Test program scrollTextBug.c shows this...
> see attachment.
> 
> Clicking on Popup creates a popup dialog
> shell --> form --> scrolled text widget combo
>                --> push button gadget "Done"
> Notice that the text is not sized properly.
> However resizing (click and drag) of the dialog gives correct appearance.
> 
> Invoke program with argument "hack"
> e.g. scrollTextBug hack
> Notice that the text has correct appearance.
> This hack works by managing the form,
> getting the dimensions of the scroll window
> and modifying them so it's resize intrinsic
> (and it's childrens') are called.
> NOTE: both width and height must change to force resize in both dimensions.
> 
> Also note that similar appearance is exhibited by
> lesstif-0.92.40/test/Xm/text/test14.c
> 
> I assume that somehow during widget initialization the width and
> height are not being propagated correctly, or the resize intrinsic
> is not doing it's job.  I don't know enough about the internals to
> trace down the error.  But hopefully this work around hack will give
> some knowledgeable person a hint at the solution.
> 
> Thanks,
> 
>
-------------------------------------------------------------------------------
> Dale M. Walker      FlightSafety International| RA: Liz Little   __o --o
> [EMAIL PROTECTED] 5695 Campus Parkway       |         Walker _-\<.-\<,
> 314-551-8594        St. Louis MO 63042        | '94 Sovereign (*)-%--% (*)

_______________________________________________
Lesstif mailing list
[EMAIL PROTECTED]
https://terror.hungry.com/mailman/listinfo/lesstif

Reply via email to