Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Resizing Images
Resizing Images [message #244371] Wed, 16 July 2008 19:01 Go to next message
Michael Swearingen is currently offline Michael Swearingen
Messages: 26
Registered: July 2009
Junior Member
Hello everyone,

I added an image figure to my project (using Draw2D's ImageFigure) and I
would like to know if anyone knows a simple way to resize it.

Thanks,
MS
Re: Resizing Images [message #244405 is a reply to message #244371] Thu, 17 July 2008 11:17 Go to previous messageGo to next message
Simon Bernard is currently offline Simon Bernard
Messages: 287
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------080900050505090400090202
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

The size of the imageFigure is the size of the image you have attach to it.

If you want an imageFigure "resizable", you must create your own figure.
You can take inspiration from ImageFigure or on the class I join.




Michael S. a
Re: Resizing Images [message #244419 is a reply to message #244405] Thu, 17 July 2008 13:40 Go to previous message
Michael Swearingen is currently offline Michael Swearingen
Messages: 26
Registered: July 2009
Junior Member
Thanks for the example code Simon, you've been a lot of help
Previous Topic:Centered FlowLayout stopped working?
Next Topic:Elliptical Border
Goto Forum:
  


Current Time: Thu Oct 23 10:08:57 GMT 2014

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

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