A garment to get perfectly straight (5)
I believe the answer is:
dress
'a garment' is the definition.
(I know that garment can be written as dress)
I can't explain the rest of the clue.
Can you help me to learn more?
(Other definitions for dress that I've seen before include "This circle is the first gallery in a theatre" , "formal wear" , "(Article of) clothing" , "Adorn" , "formal attire" .)