"need being shortened" is wrong. You could say "The dress will need to be shortened" or "The dress will need shortening ". " "He thanked her for having done the work in a short time" is fine.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.