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

Icon does not align vertically #23

Closed
PhaserEditor2D opened this issue Nov 30, 2015 · 0 comments
Closed

Icon does not align vertically #23

PhaserEditor2D opened this issue Nov 30, 2015 · 0 comments
Assignees
Labels

Comments

@PhaserEditor2D
Copy link

The icons in the completion list does not align vertically.

In the CompletionCellRenderer class it says:

getIcon().paintIcon(this, g, 0, 0);

however if you write:

getIcon().paintIcon(this, g, 0, getHeight() /2 - getIcon().getIconHeight()/2);

the icon will be centered and look better :)

by the way, your work is great! it is very easy to understand and is performing very good, it is helping me a lot.

@bobbylight bobbylight self-assigned this Nov 21, 2019
@bobbylight bobbylight added the bug label Nov 21, 2019
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