Fix quick search foreground color for different themes.
This commit is contained in:
parent
d15aa0a594
commit
daf870572c
1 changed files with 3 additions and 3 deletions
|
@ -104,7 +104,7 @@ public class ResourceListPane extends TranslatedVisibleComponent implements File
|
||||||
|
|
||||||
tree.setRootVisible(false);
|
tree.setRootVisible(false);
|
||||||
tree.setShowsRootHandles(true);
|
tree.setShowsRootHandles(true);
|
||||||
quickSearch.setForeground(Color.gray);
|
quickSearch.setForeground(quickSearch.getDisabledTextColor());
|
||||||
|
|
||||||
attachTreeListeners();
|
attachTreeListeners();
|
||||||
attachQuickSearchListeners();
|
attachQuickSearchListeners();
|
||||||
|
@ -524,7 +524,7 @@ public class ResourceListPane extends TranslatedVisibleComponent implements File
|
||||||
if (quickSearch.getText().equals(TranslatedStrings.QUICK_FILE_SEARCH_NO_FILE_EXTENSION.toString()))
|
if (quickSearch.getText().equals(TranslatedStrings.QUICK_FILE_SEARCH_NO_FILE_EXTENSION.toString()))
|
||||||
{
|
{
|
||||||
quickSearch.setText("");
|
quickSearch.setText("");
|
||||||
quickSearch.setForeground(Color.black);
|
quickSearch.setForeground(quickSearch.getSelectedTextColor());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -534,7 +534,7 @@ public class ResourceListPane extends TranslatedVisibleComponent implements File
|
||||||
if (quickSearch.getText().isEmpty())
|
if (quickSearch.getText().isEmpty())
|
||||||
{
|
{
|
||||||
quickSearch.setText(TranslatedStrings.QUICK_FILE_SEARCH_NO_FILE_EXTENSION.toString());
|
quickSearch.setText(TranslatedStrings.QUICK_FILE_SEARCH_NO_FILE_EXTENSION.toString());
|
||||||
quickSearch.setForeground(Color.gray);
|
quickSearch.setForeground(quickSearch.getDisabledTextColor());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue