Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Adding a widget in runtime
Adding a widget in runtime [message #465975] Tue, 27 December 2005 18:27 Go to next message
Eclipse UserFriend
Originally posted by: ilzogoiby.gmail.com

Hello.
I'm trying to add a widget to an eclipse composite, in runtime. However,
it won't appear, unless i call pack(). But when i call pack(), the whole
thing shrinks, and I don't want it to happen. What should i do?

Thanks in advance,

Pedro
Re: Adding a widget in runtime [message #465976 is a reply to message #465975] Tue, 27 December 2005 19:19 Go to previous message
Jeremy Dowdall is currently offline Jeremy DowdallFriend
Messages: 48
Registered: July 2009
Member
one of the versions of "layout" is probably what you're looking for...

the context help / javadoc is pretty good so take some time to read
through them and experiment (you'll probably be using layout allot :) )


Pedro Ferreira wrote:
> Hello.
> I'm trying to add a widget to an eclipse composite, in runtime. However,
> it won't appear, unless i call pack(). But when i call pack(), the whole
> thing shrinks, and I don't want it to happen. What should i do?
>
> Thanks in advance,
>
> Pedro
>
Previous Topic:Standard SWT Menu Icons
Next Topic:creating executable jar
Goto Forum:
  


Current Time: Thu Dec 26 21:00:37 GMT 2024

Powered by FUDForum. Page generated in 0.03202 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top