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

> From: Erik Poupaert
>
> >>>> Set the text to "".
> >>>> Pack your window.
> >>>> Set the text to something else.
> >>>> See what happens?  Nothing.  Until you resize the window.
>
> 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.  Where is this documented?
This is the sort of thing that can drive a programmer crazy.  It's not huge,
but you're in the middle of a project and you suddenly have to stop for
hours (or perhaps days) trying to figure out a simple issue like this.

Joe



Back to the top