Fish for a compliment

To try and get someone to give you a compliment.

The girl was fishing for a compliment when she asked her friend about her new dress.