DICE PACKS BUNDLE
Page 1 of 3 123 Last
  1. #1

    Theme Extension question

    I'm working on a theme. When adding sidebar icons, I see the images used in other themes are approx 100px x 100px. So, I made my icons 100x100... and they turn out TINY. I'm supposing that DPI has something to do with it, so I inspect my image - 1100dpi. A button from FGPro is 72DPI. Hmm, I says... so I change the DPI of my 100x100 image to 72dpi and try again... nope, still tiny.

    Anyone have an idea of what I am missing here?

    Thanks!

    G
    Check out my FG theme - The Coming of Night

    FG Ultimate License
    D&D5e-Pathfinder-Savage Worlds

  2. #2

  3. #3

    Join Date
    May 2016
    Location
    Jacksonville, FL
    Posts
    2,211
    Blog Entries
    7
    Check your setting in your image editor also.

    DPI is only used for printing. Paper has inches.

    Screens have pixels.

  4. #4
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,245
    Blog Entries
    9
    I suspect the images are being sized based upon the windowclass you are placing them in. As damned said, you'll need to share your code.

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

  5. #5
    Skillkoil's Avatar
    Join Date
    Dec 2015
    Location
    Fayetteville, North Carolina
    Posts
    541
    Blog Entries
    3
    Yeah DPI doesn't effect screen viewing size it is the Pixels you have set. If you can share the code around one of your buttons we can probably "fix" it for you.

    FG Con 13 – Fantasy Grounds Online RPG Convention - October 12-14 2018
    Register at www.fg-con.com for all the latest info.
    My Blog
    Technical Administrator for Fantasy Grounds College
    Holder of the "Ultimate License" | Allower of Demo Players!
    GM of Nephilim Wars - 5E Post Apocalyptic Campaign
    DM of Destiny Calls - 5E Homebrew that includes Waterdeep: Dragon Heist

  6. #6
    Code:
    <root>
    	<!-- Logo - referenced by name "diehard" -->
    	<icon name="nsg" file="graphics/icons/nsg.png" />
    
    	
    	<!-- Sidebar -->
    	<icon name="button_characters" file="graphics/sidebar/workman.png" />
    	<icon name="button_characters_down" file="graphics/sidebar/workman.png" />
    </root>
    (edited for brevity)

    FantasyGrounds_2018-09-18_21-09-56.png
    workman.png

    Note that all of the other sidebar icons *were* normal size until I added the included workman.png, now they have all resized.

    Thank You to all who are helping! THIS is why our community is the best!

    (And yes, I am hacking the Strahd theme )
    Last edited by iotech; September 19th, 2018 at 04:18.
    Check out my FG theme - The Coming of Night

    FG Ultimate License
    D&D5e-Pathfinder-Savage Worlds

  7. #7

  8. #8
    @damned - I did, it's in the post above.

    Edit: I see why there might be confusion. In the screenshot, the icon has a wooden shield behind the "workman". The version in the screenshot is an earlier iteration when I was trying to sort this out; I pasted the workman on top of another sidebar icon (the wood shield) to see if I liked the effect. In both cases, including with the workman.png I included above, I'm seeing the resized behavior.

    Here is a new screenshot with the *exact* workman.png linked above:
    FantasyGrounds_2018-09-18_22-57-07.png
    Last edited by iotech; September 19th, 2018 at 05:57.
    Check out my FG theme - The Coming of Night

    FG Ultimate License
    D&D5e-Pathfinder-Savage Worlds

  9. #9

  10. #10
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,245
    Blog Entries
    9
    I think damned was saying to attach the actual png file, not a screen shot of it.

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Log in

Log in