atom-haskell / ide-haskell

Haskell IDE plugin for Atom editor

Home Page:https://atom.io/packages/ide-haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Size of last autocomplete panel's font is disproportional

vasily-kirichenko opened this issue · comments

selection_005

I think the font should be of the same size as the editor's.

Well, frankly that's just how it goes: completion hint panel is part of general UI, so it's font size is handled by Atom. You can always override this with a custom stylesheet, if you need to, but I don't think it's possible to tie its font size to editor's without some rather unsightly hacks.

Set from stylesheet:

atom-text-editor[mini][data-grammar="hint haskell"] {
  font-size: 1px;
}

This obviously won't scale with editor though.

I might consider adding an optional hack to grab font size from editor config, but I'm extremely pressed for time right now, so this will have to wait. PRs are always welcome.

Sorry, referenced wrong issue in commit. As I said, pressed for time...

Moved to relevant repo