LinusU / node-appdmg

💾 Generate your app dmgs
MIT License
1.68k stars 152 forks source link

Window generated for DMG is shorter than background image #83

Closed avoidwork closed 8 years ago

avoidwork commented 8 years ago

Hi,

Thanks for making this awesome module; super time saver! I have a problem, which is confusing me a bit. The background image is 449x230 which image-size detects properly, and is also set properly at line (approx) line 283: global.bkgsize = [value.width, value.height], however the resulting window is actually 202px for the content.

Default size output: screen shot 2016-01-11 at 2 12 11 pm

Resized the window to uncover the entire graphic: screen shot 2016-01-11 at 2 21 43 pm

LinusU commented 8 years ago

Hmm, it's probably because your finder is displaying the visible bars at the top and the bottom. I haven't seen them that much before, is it some setting that you have set to display them?

avoidwork commented 8 years ago

No, but that came up in convo with the designer; we're running different versions of OSX. I'm running 10.11.2, he's on 10.10.x and doesn't see those bars.

I run 10.11.3-beta on another machine, and also see the bars there, so it's probably something* new for OSX.

tunabelly commented 8 years ago

There's an option in the Finder to show/hide the status bar. Click the View menu and choose "Show/Hide Status Bar".

screen shot 2016-01-11 at 6 54 25 pm

It's been around for at least a few OS X versions now. :-)

LinusU commented 8 years ago

Unfortunately I don't think that there is anything we can do about it. Unless the .DS_Store can override the "Show status bar" setting, there is now way to know how large the visible portion of the window will end up being.

If there is any indication that this is possible, I will be happy to reopen this and try to fix it!