Put a Icon (with action) in front of any Text-Input (Like Search/Replace or Commit-Message)

Answered

Is it possible to manipulate the UI to place a icon on several places? Places like Search/Replace-Popup or Commit-Message-Textarea ect.

0
3 comments

Hi Michael,

If there is an existing component that looks similar to what you need, then most likely, it is possible.

I suggest using UI Inspector to check how they are implemented:
https://plugins.jetbrains.com/docs/intellij/internal-ui-inspector.html

In case of problems, please share what you try to do and how it doesn't work.

0

Do you mean to look for the component i want to adjust, recreate with my adjustments and replace it entirely?

0

Hi Michael,

No. I understood that you wanted to create a component with an icon in front of input, like it is done in places like Search/Replace, etc.

I understand that you want to put your icon in addition to the existing icons. Is that correct? If yes, I doubt you can do it, but you can ensure by looking at the implementation of a specific component you want to amend. You can use the UI Inspector for this. Maybe some of the components have extension points to do it, but it's unlikely.

0

Please sign in to leave a comment.