minor fixes in StringDelegate setNumOfLines ...