For example I’m creating a search field using the mini editor so that I can syntax highlight some search syntax. I’d like to add a magnifying glass icon at the start of the field, and a “clear” icon at the end when there’s content to clear.
The standard find panel does something like this to add a “no results” label. But it uses absolute positioning to display that label and that has a few drawbacks, the most problematic being that if the text field is filled it overlaps with the underlying text.
Any ideas on how to solve this more elegantly?