cart / atom-hidpi

Scales Atom's interface based on the current monitor's resolution
MIT License
16 stars 2 forks source link

Please add an example of how to write the config #9

Open COLABORATI opened 8 years ago

COLABORATI commented 8 years ago

Would you please like to add an example configuration? I am "just using" atom, ran into this scaling issue but can not get any of the settings to do anything. It would be nice to see an original example config for this module so I can better understand if I just get the config syntax wrong, thanks!

cart commented 8 years ago

I used to use the defaults with a retina display and a 1920x1080 monitor. They should scale up atom 2x on the retina display and scale it back down to 1x on the 1920x1080 monitor. The readme in this repo explains the usage/format of each configuration option.

That being said, atom recently made changes that allow it to detect the scale factor and adjust the scale automatically, which messed with the resolution detection in this package. This issue is covered in more detail here: #8.

What are you trying to do with atom-hidpi? Can you provide your monitor setup, how you want it to scale, and your operating system? I have a feeling that once #8 is fixed, your problems will disappear.

msssk commented 8 years ago

Most configurable Atom packages have a "Settings" button next to them in the list of installed packages. It's not obvious how one should configure atom-hidpi since it does not have a "Settings" button.

I tried adding an "atom-hidpi" section in Atom's config.cson but the settings are not applying (even after "Hidpi: Update").

sumdog commented 8 years ago

Could you just give us an example of how those settings would look in a config.json? Most other plugins expose their settings in the preferences. I just started using atom a few months ago and can't find any examples of how to add settings as you have them described. What section do they go under?

cart commented 8 years ago

In atom 1.9 I don't see a settings icon for this package (I assume there is a new api add one), but in the "Packages" section, if I click on any part of this package's tile that isn't "uninstall", "disable", or "hidpi" I get linked to the settings page. Let me know if that doesn't work for you.

sumdog commented 8 years ago

Oh, it's right there, before the readme. How did I miss that? :confused:

Thanks!