Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » PrintAction is not scaling images in Labels
PrintAction is not scaling images in Labels [message #156860] Thu, 04 November 2004 21:15 Go to next message
uhclem is currently offline uhclemFriend
Messages: 17
Registered: July 2009
Junior Member
Hi all,

I'm trying to use PrintAction in a GEF editor to print a GraphicalViewer. It
works fine for the most part except that the images set into draw2d Label
objects do not scale to the printer graphic context - they show up as teeny
tiny versions of their on-screen cousins.

I've tried subclassing Label and overriding paint() in an attempt to scale
the images myself, but this has had no effect. Any ideas?

Thanks.

Bob
Re: PrintAction is not scaling images in Labels [message #156883 is a reply to message #156860] Fri, 05 November 2004 00:05 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Vote for https://bugs.eclipse.org/bugs/show_bug.cgi?id=28766

Also, see its dupe: 69035

"Bob Brodt" <rbrodt@adelphia.net> wrote in message
news:cme6b4$ef3$1@eclipse.org...
> Hi all,
>
> I'm trying to use PrintAction in a GEF editor to print a GraphicalViewer.
It
> works fine for the most part except that the images set into draw2d Label
> objects do not scale to the printer graphic context - they show up as
teeny
> tiny versions of their on-screen cousins.
>
> I've tried subclassing Label and overriding paint() in an attempt to scale
> the images myself, but this has had no effect. Any ideas?
>
> Thanks.
>
> Bob
>
>
Previous Topic:Repost:Issue Regarding MouseEvents and EventDispatcher
Next Topic:Problems with ScrollBar
Goto Forum:
  


Current Time: Fri Apr 26 07:27:47 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