adjust annotation panel height when font changed