Thread: Theme Extension question
-
September 18th, 2018, 06:15 #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
-
September 18th, 2018, 09:26 #2
You might have to share an image an the xml code...
-
September 18th, 2018, 15:12 #3
Check your setting in your image editor also.
DPI is only used for printing. Paper has inches.
Screens have pixels.
-
September 18th, 2018, 19:06 #4
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.
-
September 18th, 2018, 20:13 #5
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.
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
-
September 19th, 2018, 04:15 #6Code:
<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>
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.
-
September 19th, 2018, 04:18 #7
Please attach the actual icon file that you have in the extension.
graphics/sidebar/workman.png
-
September 19th, 2018, 05:51 #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.pngLast edited by iotech; September 19th, 2018 at 05:57.
-
September 19th, 2018, 06:06 #9
workman.png should be a round circle with a man inside... i need that file...
-
September 19th, 2018, 06:06 #10
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