Welcome guest, is this your first visit? Create Account now to join.
Page 1 of 2 12 LastLast
Results 1 to 10 of 20

This is a discussion on background stretching within the Themes Development section, part of the Chrome Themes category: Hi, I just started learning how to make themes. I made a few but then when i asked my friends ...


  1. #1
    Iruini626 is offline Junior Member
    Join Date
    Oct 2009
    Posts
    21

    Default background stretching

    Hi, I just started learning how to make themes. I made a few but then when i asked my friends to test it out on their chrome, the background for the newtab is not fit to screen.

    here is my json file

    {
    "version": "1.0",
    "name": "FMA Theme",
    "theme": {
    "images": {
    "theme_ntp_background": "images/newtab_background.png",
    "theme_frame": "images/frame_normal.png",
    "theme_frame_inactive": "images/frame_inact.png",
    "theme_toolbar": "images/toolbar.png"
    },
    "colors": {
    },
    "tints": {
    },
    "properties": {
    "ntp_background_alignment": "center"
    }
    }
    }
    Is there a way I could make the background fit to all resolutions? I tried changing the background alignment to stretch but it didn't work. help.

    To have a better understanding on my question, download the .crx file here and test it out on different screen resolutions

  2. #2
    sulasno's Avatar
    sulasno is offline Super Moderator
    Join Date
    Sep 2008
    Location
    Bangkok
    Posts
    1,759

    Default

    what's the size of your image?

  3. #3
    Iruini626 is offline Junior Member
    Join Date
    Oct 2009
    Posts
    21

    Default

    my image is my image is 1024x700

  4. #4
    Iruini626 is offline Junior Member
    Join Date
    Oct 2009
    Posts
    21

    Default

    must i make different versions for each resolution? that would be killer. T.T

  5. #5
    sulasno's Avatar
    sulasno is offline Super Moderator
    Join Date
    Sep 2008
    Location
    Bangkok
    Posts
    1,759

    Default

    try creating an image of 800 X 600 and see whether it fits all sizes

  6. #6
    Iruini626 is offline Junior Member
    Join Date
    Oct 2009
    Posts
    21

    Default

    no it can't. I tried it yesterday. it couldn't reach the edge of my screen

  7. #7
    Iruini626 is offline Junior Member
    Join Date
    Oct 2009
    Posts
    21

    Default

    does anyone else have this problem anyway?

  8. #8
    PAEz's Avatar
    PAEz is offline Moderator
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    656

    Default

    kept forgeting to answer this one, sorry....

    You cant stretch it, your options are listed on this page....
    http://code.google.com/p/chromium/wi...eCreationGuide
    ...your best option is to try and find a picture that can blend into the background colour so you dont notice it.
    For instance have a look at the way JediKnight put an alpha mask on a picture to get it to blend in nicely......
    Disgaea [CRX]
    ....the picture on the ntp had sharp edges, but using an alpha mask it blends nicely now

  9. #9
    Iruini626 is offline Junior Member
    Join Date
    Oct 2009
    Posts
    21

    Default

    you can mask gradient too? coz most of my bg are gradients
    Last edited by Iruini626; 03-05-2010 at 06:16 AM. Reason: change question

  10. #10
    joky123 is offline Banned
    Join Date
    Mar 2010
    Posts
    1

    Default

    that is great
    I think not everyone can do that










    _______________________________________
    dexter seasons 1-4

Page 1 of 2 12 LastLast

Similar Threads

  1. New Tabs Background, Quick and easy
    By Bloody_Turds in forum Chrome Themes
    Replies: 0
    Last Post: 12-28-2009, 01:16 PM
  2. Debugging Background Pages
    By Peve in forum Plugins Development
    Replies: 2
    Last Post: 09-27-2009, 06:01 PM
  3. Viewing contents of a Background page?
    By Skyd in forum Plugins Development
    Replies: 11
    Last Post: 06-20-2009, 03:00 AM
  4. Black Tabs Background? Hmm...
    By dragonic2020 in forum Chrome Talk
    Replies: 2
    Last Post: 05-16-2009, 01:17 PM
  5. Where's the background over-ride color setting?
    By tommy.vinson in forum Chrome Talk
    Replies: 0
    Last Post: 12-12-2008, 02:50 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •