You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Thank you for the workaround, @kevinsawicki, that helped me :)
I created that file and it increased the font size on Tree View and tabs only, the settings panel still has small fonts.
Hello @kevinsawicki with Atom 0.140 the font size is too small too, but with some ~/.atom/styles.less rules + Developer Tools the problem is solved. Thank you.
Chromium works on my Ubuntu (or worked, in facts, but the only problem is too big fonts in menu since some days, nothing wrong in the content). Here is an illustration of the problem present in Atom and not in chromium
of course, as I said, there is a non-related problem in the tab font size.
I found a quick way to scale the entire UI (fonts, widgets, the works, no need to change individual font sizes!) which works very well for me (using Atom 0.179.0).
Add the following line to your init.coffee (location depends on which OS you're using):
require('web-frame').setZoomFactor(2)
(adjust the zoom factor (x * 100%) to your liking.)
Save the file, restart Atom and enjoy
Works fine for me to just "scale up" the whole UI. I think it's the same as zooming in a browser. Not sure if it has some side effects on performance or so. A zoom factor like 1.4 works too, but "1px" lines sometimes get rounded up or down, leaving some visual inconsistency. Maybe not huge issue for most.
Reacted by Felix Meyer-Wolters and Adonis Kakoulidis
Works fine for me to just "scale up" the whole UI. I think it's the same as zooming in a browser. Not sure if it has some side effects on performance or so.
Yep, it's the same as zooming in the browser. fwiw, OS X Retina displays have this set to 2.0, and Windows / Linux usually sets this to 1.5 for 4K displays
@pguth thanks. It helps but it's not great. I still prefer tuning style.less, it gives better results. @kevinsawicki, wouldn't it be possible you to use ems and rems in the interface code instead px so it's easier for us adjust style.less and create templates? If you use *ems we could adjust size of all elements only changing html's font-size. Also would help if you avoid inline styles like in .settings-view .config-menu
I mostly agree with @jcarmena. Use rems instead of px. One of the problems with ems is that if you change a size up the tree, you have to change all of the descendants' sizes if you don't want them to change too.
An alternative to rem/em might be using zoom. I think it has the same effect when zooming in a browser. Does it work if you add the following to your styles.less file:
html{zoom:2;}
It should make everything double size. And should work in all themes. Maybe this could even be a setting?
Update: Don't use it on the root html element, since it causes some glitches.
This does increase the size of all elements, but it causes some serious glitches (mouse click events still work as if the page was not zoomed in, which makes UI interaction impossible...)
I'm now using the previously suggested require('web-frame').setZoomFactor(1.5) in my init.coffee, which works for the main container, but not the menu.
Some kind of zoom setting which also scales the menu correctly would be awesome!
This does increase the size of all elements, but it causes some serious glitches (mouse click events still work as if the page was not zoomed in, which makes UI interaction impossible...)
Right, after some testing, zoom doesn't work that well. Also, there were glitches when calculating sizes in scripts, I think. It might be ok for some parts of the UI, but not for everything.
Is this considered fixed? I'm still having the issue and the only way to properly use atom on Archlinux with a QHD monitor is to have require('web-frame').setZoomFactor(1.5) in my init file...
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
kevinsawicki commentedon Sep 26, 2014
You can boost the font size by editing your
~/.atom/styles.lessfile. Adding the following might be a good start.The default is
11px.This is still an issue that should be addressed, I just wanted to give you a workaround to at least make it usable for now.
jcarmena commentedon Sep 26, 2014
Thank you for the workaround, @kevinsawicki, that helped me :)
I created that file and it increased the font size on Tree View and tabs only, the settings panel still has small fonts.
I'll wait for the definitive solution.
kevinsawicki commentedon Oct 23, 2014
@jcarmena Is this still an issue for you on Atom 0.139?
Chrome 38 was recently upgraded to and I believe there were some font scaling fixes that went along with it.
puzrin commentedon Oct 24, 2014
I see some differences in 139, but not sure these are improvements :) . Menu became unpinned from top, scale in menu & dropdown is wrong.
Ubuntu 14.04lts, mbpro retina 13". Scale factor set via unity control panel.
zcbenz commentedon Oct 24, 2014
@puzrin This is Chromium's bug on HiDPI support on Linux, and you can track it at https://code.google.com/p/chromium/issues/detail?id=143619.
jcarmena commentedon Oct 29, 2014
Hello @kevinsawicki with Atom 0.140 the font size is too small too, but with some ~/.atom/styles.less rules + Developer Tools the problem is solved. Thank you.
mchelen commentedon Nov 2, 2014
Workaround #3636 (comment) was effective, except for status bar at bottom & Settings page.
mchelen commentedon Nov 2, 2014
Related workaround for scrollbar size: #4033
mchelen commentedon Nov 2, 2014
For status bar:
Settings:
I ended up overriding quite a lot of selectors to increase all the font sizes, fortunately the dev mode + inspect element helped track them down.
Probably a lot of this could be handled better in the theme itself.
Nek- commentedon Nov 12, 2014
Chromium works on my Ubuntu (or worked, in facts, but the only problem is too big fonts in menu since some days, nothing wrong in the content). Here is an illustration of the problem present in Atom and not in chromium
of course, as I said, there is a non-related problem in the tab font size.
jordanbtucker commentedon Feb 19, 2015
This seems to get everything I care about for now:
simurai commentedon Feb 24, 2015
"ackalker" in this discuss post:
Works fine for me to just "scale up" the whole UI. I think it's the same as zooming in a browser. Not sure if it has some side effects on performance or so. A zoom factor like
1.4works too, but "1px" lines sometimes get rounded up or down, leaving some visual inconsistency. Maybe not huge issue for most.anaisbetts commentedon Feb 24, 2015
Yep, it's the same as zooming in the browser. fwiw, OS X Retina displays have this set to 2.0, and Windows / Linux usually sets this to 1.5 for 4K displays
jordanbtucker commentedon Feb 24, 2015
This is perfect for me. Thanks @simurai.
perguth commentedon Jun 29, 2015
This problem still persists in 1.0 (Korora/Fedora Core 21, 3200x1600) :-(
jcarmena commentedon Jul 27, 2015
I have installed 1.0.2 and confirm that the problem still exists:

perguth commentedon Jul 31, 2015
This can help till it's fixed officially: #3363 (comment)
jcarmena commentedon Sep 5, 2015
@pguth thanks. It helps but it's not great. I still prefer tuning style.less, it gives better results.
@kevinsawicki, wouldn't it be possible you to use
ems andrems in the interface code insteadpxso it's easier for us adjust style.less and create templates? If you use *ems we could adjust size of all elements only changinghtml'sfont-size. Also would help if you avoid inline styles like in.settings-view .config-menujordanbtucker commentedon Sep 5, 2015
I mostly agree with @jcarmena. Use
rems instead ofpx. One of the problems withems is that if you change a size up the tree, you have to change all of the descendants' sizes if you don't want them to change too.simurai commentedon Sep 9, 2015
An alternative to
rem/emmight be usingzoom. I think it has the same effect when zooming in a browser. Does it work if you add the following to yourstyles.lessfile:It should make everything double size. And should work in all themes. Maybe this could even be a setting?
Update: Don't use it on the root
htmlelement, since it causes some glitches.klamann commentedon Oct 13, 2015
This does increase the size of all elements, but it causes some serious glitches (mouse click events still work as if the page was not zoomed in, which makes UI interaction impossible...)
I'm now using the previously suggested
require('web-frame').setZoomFactor(1.5)in myinit.coffee, which works for the main container, but not the menu.Some kind of zoom setting which also scales the menu correctly would be awesome!
simurai commentedon Oct 13, 2015
Right, after some testing,
zoomdoesn't work that well. Also, there were glitches when calculating sizes in scripts, I think. It might be ok for some parts of the UI, but not for everything.varemenos commentedon Aug 12, 2017
Is this considered fixed? I'm still having the issue and the only way to properly use atom on Archlinux with a QHD monitor is to have
require('web-frame').setZoomFactor(1.5)in my init file...lock commentedon Mar 31, 2018
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!