Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Avoid Composite Background Image from Tiling
Avoid Composite Background Image from Tiling [message #762283] Wed, 07 December 2011 19:57 Go to next message
Ronald So is currently offline Ronald SoFriend
Messages: 198
Registered: April 2011
Senior Member
Is there a way to avoid the background image being tiled (show up sequentially multiple times based on the screen size)?

These are the three lines of code I have.


Composite bannerComposite = new Composite(shell, SWT.NONE);
bannerComposite.setBackgroundMode(SWT.INHERIT_DEFAULT);
bannerComposite.setBackgroundImage(IMAGE_BANNER_BG);


From a separate source, people suggest about creating a large background image to avoid this issue.

http://www.sightspecific.com/~mosh/WWW_FAQ/bgfixed.html

Is there a better way to handle that?

Thanks,
Ronald
Re: Avoid Composite Background Image from Tiling [message #763354 is a reply to message #762283] Fri, 09 December 2011 16:17 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi Ronald.

Right now there is no way to do that, but there is an open
enhancement-request on bugzilla for such a feature:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=361799

You can set yourself on CC to be notified on any progress for that issue.

Greetings,
Tim

Am 07.12.2011 20:57, schrieb Ronald So:
> Is there a way to avoid the background image being tiled (show up
> sequentially multiple times based on the screen size)?
>
> These are the three lines of code I have.
>
>
> Composite bannerComposite = new Composite(shell, SWT.NONE);
> bannerComposite.setBackgroundMode(SWT.INHERIT_DEFAULT);
> bannerComposite.setBackgroundImage(IMAGE_BANNER_BG);
>
>
> From a separate source, people suggest about creating a large
> background image to avoid this issue.
> http://www.sightspecific.com/~mosh/WWW_FAQ/bgfixed.html
>
> Is there a better way to handle that?
>
> Thanks,
> Ronald
Re: Avoid Composite Background Image from Tiling [message #763365 is a reply to message #763354] Fri, 09 December 2011 16:40 Go to previous message
Ronald So is currently offline Ronald SoFriend
Messages: 198
Registered: April 2011
Senior Member
Thank you very much!
Re: Avoid Composite Background Image from Tiling [message #763368 is a reply to message #763354] Fri, 09 December 2011 16:40 Go to previous message
Ronald So is currently offline Ronald SoFriend
Messages: 198
Registered: April 2011
Senior Member
Thank you very much!
Previous Topic:Avoid Composite Background Image from Tiling
Next Topic:Bandwidth constraint
Goto Forum:
  


Current Time: Sat Sep 22 07:05:41 GMT 2018

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

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

Back to the top