Adds UI hints to overflowing elements