How to create a scalable background image?

Hi all

I would put a scalable background image to a label field. I put the background image using the setBackground() method available in the field of the label. But when the text in the label field increases the background image tend to repeat rather than be put on the scale. Can someone help me on this please?

Thank you much in advance.

Brahim Salim

Never tried it myself, have but you reviewed the options when you create your route?

Take a look at this:

http://www.BlackBerry.com/developers/docs/7.1.0api/NET/rim/device/API/UI/decor/BackgroundFactory.htm...

and review of the

BackgroundFactory.createBitmapBackground (Bitmap, int, int, int)

settings, specifically looking at the REPEAT_SCALE_TO_FIT layout

Tags: BlackBerry Developers

Similar Questions

  • How to create hotspots on background image?

    Hi, is there a way to create a hotspot with a link (or something that does the same job) on a background image?

    Thank you!

    Hello

    Simple answer, no.

    You can create a transparent gif 'empty' to go above your background image and set your hotspot in it.

    PZ

  • How to create a transparent background

    Hello guys,.

    I want to create transparent image or background, could you please help me how to create a transparent background image my Web site name is Digi Shiksha I want to post pictures on facebook for this I want to create a transparent image if you know tell me how to create a transparent image?

    You will also need to save in a format that supports transparency - as PNG. JPEG does not work.

    Dave

  • How can you save the background image contained in a Thunderbird e-mail message

    How can you save the background image contained in a Thunderbird e-mail message

    Have you read the instructions which preceded the right click? What of their suite?

  • How to make a blurry background image?

    I use the app free umbrella of Eugene Popov.

    and I wonder how this app blurs the background image,

    It's pretty cool

    anyone has any ideas on this subject?

    dlib library seems to do quite easily, but have not tried.

    Here is the glaussian_blur() function:
    http://dlib.NET/Imaging.html#Gaussian_Blur

    And here is an example of code using this function:
    http://dlib.NET/image_ex.cpp.html

  • How to create a hardware independent Image

    Hello
     
    I'm new to the concept of Imaging.  With kindness is someone help me how to create a hardware independent Image of Win 7 as well as for Win XP

    Kind regards
    Chaitanya

    This kind of question belongs in IT Pro forums on TechNet, the forums you currently send support home users who are not computer graphics.

    http://social.technet.Microsoft.com/forums/en-us/categories

  • How to create a transparent background in Adobe Illustrator?

    I am doing a logo and save it as a PNG with a transparent background. It's for a Web site.  How to create a transparent background? Thank you!

    The background is transparent, unless you draw something.

  • Scalable background image

    I want to use a background image in an application that uses a ViewStack to connect a login screen to several components. How can I change the background image to make the image extends to the size of size full screen, regardless of the dimensions of the screen.
    Thanks for your time.

    you no need to do anything to the scale of the background image in flex don't...

    just give the name of your image in the Application > property backgroundImage as follows


    backgroundImage http://www.adobe.com/2006/MXML"="your image name.jpg"layout ="absolute">

  • How can I get a background image sensitive identical to the junction College Web site?

    Hello!

    I tried hard to figure out how to get the same effect that has College Junction - home - daily well-being all together . More specifically, the ability to resize the window of my browser and have scale of the background image to size without image quality loss. I have a 1920 x 1034 image. The width of my page is fixed to 800px. Then I fill an object with my image (suitable size) and apply the function of width of 100%. When I saw these settings in the browser, I'm able to resize the upper window of the page of 800px with desirable effect of the image scaled to fit the browser BUT the image loses quality (resolution).

    I bought the QooQee Widget: Smart 1.1 and I'm able to do a little bit reactive recess with her, but I have not found a way to create the same effect as the junctions of college. The best I can do is create an effect similar but end with gray side bars when I resize the browser to one size other than the proportions of the image. (see below)

    site iamge.PNG

    It was a little maddening for me. I have to do something wrong. Maybe my page properties were not correctly setup? Any help would be appreciated, thanks!

    More specifically, the ability to resize the window of my browser and have scale of the background image to size without image quality loss.

    There is no such thing, and there may be - for simple mathematical reasons. The web site that you referenced uses magical, just a very large image (oversized) that most of the browsers is not displayed to the maximum size one way or another. It's an illusion at low cost. The only other factor is the pixel, scaling the browser and in the case of Chrome algorithms, they are dependent on the GPU acceleration, so it's more likely something is wrong with that, if you really see the degradation.

    Mylenium

  • How can I change the background image for a single tab on the navigation bar

    I create a film site for LEVEL and for the navigation bar, I intend to have a different character for each tab. However, I can't put one image of each separate tab. Instead, a single image appears on each of the tabs. Here is an example of the CSS source.

    < td width = "200" > < ul id = "navigation" > < br / >

    "< li > < a href ="... / pages/index.html "> home < /a > < /li > < br / >"

    "< li > < a href ="... / pages/cast.html "> Cast < /a > < /li > < br / >"

    "< li > < a href ="... / pages/pictures.html "> photos < /a > < /li > < br / >"

    "< li > < a href ="... / pages/soundtrack.html "> music < /a > < /li > < br / >"

    "< li > < a href ="... / pages/interview.html "> Interviews < /a > < /li > < br / >"

    "< li > < a href ="... / pages/links.html "> links < /a > < /li > < br / >"

    < /ul >

    < table >

    #navigation {}

    list-style-type: none;

    padding: 0px;

    margin: 0px;

    }

    #navigation li {}

    margin: 0px;

    padding: 0px;

    list-style-type: no

    }

    #navigation li a: link, #navigation li a: visited {}

    display: block;

    Width: 200px;

    height: 100px;

    text-decoration: none;

    text-align: center;

    line-height: 100px;

    do-family: "Trebuchet MS", Arial, Helvetica, sans-serif;

    make-weight: bold;

    -webkit-transition: 1000ms relieve;

    -moz-transition: 1000ms relieve;

    -ms-transition: 1000ms relieve;

    -o - transition: 1000ms relieve;

    transition: 1000ms relieve;

    color: #648AAE;

    background-repeat: no-repeat;

    background-image: url (.. / Images/gifs/Batman-still-2.gif);

    background-position: center bottom;

    text-transform: uppercase;

    letter-spacing: 0.79em;

    border-radius: 5px;

    }

    #navigation li a: focus, #navigation li a: hover, #navigation li a: active {}

    Color: #000000;

    background-image: url (.. / Images/gifs/Batman-animation-2.gif);

    background-repeat: no-repeat;

    background-position: center bottom;

    background-color: #454545;

    border-radius: 25px;

    }

    So, how can I put one image on each of the tabs (home, cast, photos, etc.). Thanks in advance for your help.

    Assign a class to the element, and use CSS to apply an image as in

  • class = 'home'; > Home

  • Cast

  • Photos

  • Music

  • Interviews

  • Links

  • and the CSS

    #navigation li a: link. Home, #navigation li a: visited. Home {}

    background-image: url (.. / Images/gifs/Batman-still-2.gif);

    }

  • Scalable background image from the browser window.

    fuddlebunker 3 months ago

    Looks like I gave the direct download link.  If you want to see an example on my site, you can go on http://www.fuddlebunker.com/scalable-....  That's what I wanted to post last night, but apparently I'm tired.

    lilpillz04 1 day ago

    What happens when you add text and the page length grows? My page renders a resolution more nearly the same page so that only when you reach the end of the page see you at the end of the picture. How can I get the picture to stay as it is planned, covering completely the screen and stationary and have only the text itself move?

    Can you post the URL, so I can take a look?

    Design.Hunter 6 hours ago

    The scale is not going to work well with a super high page. Best for heights of page fixed (and shallow). would love to hear if there is a way to separate scrolling of content from one medium to the scale.

    lilpillz04 2 hours ago

    I see the problem here with the height of the size of the image. Here's an example of what I would take place. www.themasters.com-- if you ctrl (+ or-) to zoom the image remains relatively constant. In addition, on other pages, is the background image. Could we change it to say cover the entire page giving more details and constrictions regarding its size or zoom?

    It seems that themasters.com uses a JavaScript to maintain the background image at 100%.  He works very simular to the solution I posted in the link that uses CSS to keep the background image to 100%

    In regard to the second question, you could do with abritrary html using a div.

  • How can I change the background image of an album?

    I'm trying to figure out how to change the background image of the album. I'm not trying to change the picture of the official album, but the background image for the album. Is there a way I can change it?

    Your screenshot is the section of the iTunes store. None of the graphics or text on the iTunes Store are under your control. You cannot change them.

  • How to add info on background image

    Hello

    Please tell me how to add text labels etc. on background image on a screen.

    I use the solution from following link to add background images but don't see any labels on it.

    Link:

    http://supportforums.BlackBerry.com/T5/Java-development/adding-background-image-error/m-p/392813#M76...

    Thank you

    Afonso

    If you use the code from the link you specified then try this

    verticalFieldManager.add(field namewhich u want to addon Image);
    

    I hope this helps...

    ------------------------------------------------------------------------------------
    Kudo press to say thank you to the developer.
    Also, press accept it as a button when you got the Solution.

  • How can I remove a background image when replying to emails using windows live mail?

    I have Windows Live Mail on Windows 7. I'm trying to reply to an email, and I want to remove the colored background, but not pass in plain text mode. This was easy to do it on Windows Mail, but I don't see no option anywhere to do this on WLM.

    Hello TulsaJan,

    Thanks for your post.  The information below may or may not be what you are looking for.  If this isn't the case, please ask your question in the Windows Live Solution Center for questions about the Windows Live products you will find here the best assistance.

    Create a message in Windows Mail or Outlook Express and insert a background image

    Go to the Source tab

    "Locate the"tag «»

    Insert ' style = "" background-repeat: no - repeat; "" "' (not counting external quotes) after"

    See you soon

  • Creating a 2nd background image

    I have a floral background on my model that is replicated on all pages. Basically, it is difficult to see the content on some pages if I want to add a simple image on the background on these pages on which I will enter my content.

    I tried to create a div to surround the image and then paste my content (Word document), but this only pushed the image.

    Any suggestions?

    Thank you

    Iain

    IMG_0075_0424.JPG

    You must assign your background image as an image background to the innermost div, not simply by putting the image as content in the div that would lead to the result that you describe.

    Christoph

Maybe you are looking for

  • All Windows updates and all the patches and individual installation on my program

    Is someone can you please tell me why every windows update fills up my programs?I have about 30-40 on my all programs.Can I remove all?I don't have this problem on my other pc just this laptop.Thank you in advance.

  • Mail icon does not open Mail-Mail 8.2 and Yosemite

    All of a sudden, and I hear all of a sudden when I click on the Mail icon in the dock, it is no longer opens a Mail Viewer window. I have to go to the Mail menu (overhead) that appear and click on Mail and file > new window of the observer. It is a n

  • Ascentive speed active somehow got on my computer, how do I remove

    Ascentive Active speed somehow taken for my computer and is now all affect performance. How can I remove this. How know if there are any other spyware or malicious software on my computer

  • Windows XP SP3, the blue screen and restart loop

    I use Windows XP SP3. I have the blue sreen of death and I'm in a reboot loop. I don't have a CD with the operating system, as was pre loaded on the laptop. on the blue screen of death, let me stop error: STOP: 0 X 00000024 (0 X 00190203, 0X8713F238,

  • Adobe flash on win 7

    Until leveled for windows 7 (64 bit comp).  Now, I can't get Adobe Flash player.  I can't go back to internet explore 32.  I can open it but not access to all pages.  How can I put it on the default setting.  If I'm missing modules were them to do?