Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Larger font size #16

Open
skoskie opened this issue Feb 27, 2014 · 4 comments
Open

Request: Larger font size #16

skoskie opened this issue Feb 27, 2014 · 4 comments
Labels

Comments

@skoskie
Copy link

skoskie commented Feb 27, 2014

First, thanks for the plugin. It's great!

Second, I can barely see the keymaps because of the font size. It's a little clearer on a retina display, but on a display with lower resolution, it's pretty difficult to make out the characters. Here's how it looks on a Thunderbolt display:

screen shot 2014-02-27 at 10 36 32 am

@MiroHibler
Copy link
Owner

Hi Shelton!

I'm glad you like it :)

The layout (fonts, colors,...) is controlled by a theme.

Take a look here for a hint on how to customize it.

Miro

@MiroHibler
Copy link
Owner

Did you fix it?

@skoskie
Copy link
Author

skoskie commented Apr 14, 2015

Thanks for the follow-up. For now I've just disabled it. I've also realized this isn't a font size issue, it's a font issue.

For some reason, other plugins display with a sans serif font, but this one displays in monospaced, which seems to be the issue. For instance, the CDNJS plugin also uses a second line of text, but look at the difference in clarity:

screen shot 2015-04-13 at 10 06 23 pm

And, of course, this same style is used for keymaps shown on a single line as well:

screen shot 2015-04-13 at 10 34 24 pm

Look at the symbol in that screenshot vs. the original screenshot. Huge difference.

It fully makes sense for this to be a theme issue, but I haven't made any changes to my theme recently, and I'm not having this issue with other plugins. I'm not sure what could be causing it.

@ghost
Copy link

ghost commented Apr 23, 2016

@eightygrit You're right, this plugin uses a monospace font and that's the problem with the small symbols.

A quick hack is to open Keymaps.py from the package and on line 571 change from

window.show_quick_panel(self.panel_items, self.runcommand, sublime.MONOSPACE_FONT)

to

window.show_quick_panel(self.panel_items, self.runcommand)

This will use ST's default font.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants