Styling the tag editor

Refactor and reuse some code from PlaylistItemDelegate