mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't leave unpainted areas in lookup
This commit is contained in:
@@ -131,9 +131,9 @@ public class LookupCellRenderer implements ListCellRenderer {
|
||||
}
|
||||
}
|
||||
|
||||
private void setTailTextLabel(final Color background, Color foreground, final String text, final boolean bold, final boolean strikeout) {
|
||||
if (StringUtil.isEmpty(text)) {
|
||||
return;
|
||||
private void setTailTextLabel(final Color background, Color foreground, String text, final boolean bold, final boolean strikeout) {
|
||||
if (text == null) {
|
||||
text = "";
|
||||
}
|
||||
|
||||
myTailComponent.setFont(bold ? BOLD_FONT : NORMAL_FONT);
|
||||
|
||||
Reference in New Issue
Block a user