Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: RE: [platform-swt-dev] org.eclipse.swt.SWT


SWT never lays out in response to any methods you call.  update() does not force a layout either.
Only layout causes a layout.



"Joe Pluta" <joepluta@xxxxxxxxxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

02/27/2003 10:15 AM
Please respond to platform-swt-dev

       
        To:        <platform-swt-dev@xxxxxxxxxxx>
        cc:        
        Subject:        RE: RE: [platform-swt-dev] org.eclipse.swt.SWT



> From: Joe Pluta
>
> > Ah no. I actually received an answer on that one! You have to do
> > label.update() and everything will fall into place.
>
> That's what I found through trial and error.

And it still doesn't work, by the way.  The only way I found was to create
the label with a string of "              " (enough blanks to fill the
space) prior to the pack.  From that point on things worked fine.  Multiple
pack() calls is nto the answer, because that constantly resizes the entire
window.

All I want is a label that I can start out empty and update in response to
events.  Is that so much to ask?

Joe

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top