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)
Avoid Composite Background Image from Tiling [message #762280] Wed, 07 December 2011 19:56
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
Previous Topic:How-to install RAP 1.4.1 as target platform
Next Topic:Avoid Composite Background Image from Tiling
Goto Forum:
  


Current Time: Thu Oct 21 19:15:28 GMT 2021

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

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

Back to the top