[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Adding widgets dynamically
|
yes, see http://www.eclipse.org/swt/faq.php#relayout
"Shuai Yang" <yangshuai@xxxxxxxxx> wrote in message
news:fvreh6$gc7$1@xxxxxxxxxxxxxxxxxxxx
> I think you can try the method layout()
>
>
> "Bruno Cartaxo" <brunocartaxo@xxxxxxxxx>
> ??????:c038fe74bc2a57f0cd304da0be7b9b88$1@xxxxxxxxxxxxxxxxxx
> > I´m having a problem trying to add widgets to a composite dynamically.
The
> > added widgets are not showed. I tried composite.redraw(),
> > composite.update(), composite.getShell().update(),
> > composite.getShell().redraw(),
composite.getShell().getDisplay().update(),
> > and nothing happens. The only way that i found is maximize or resize the
> > shell, but is extremely inconvenient. Does anyone knows how can I
refresh
> > my shell to show all widgets that i add dynamically, exactly when i add
> > the widget?
> >
> > Best regards,
> >
> > Bruno
> >
>
>