How can I unwrap a mesh like this I have this mesh which is supposed to be edge of the roof of the building, I have marked seams like shown in the picture but the textures are appearing streched I don't know why I have applied scale and rotation, I have also tried cube projection, cylinder projection and smart uv unwrap but nothing seems to work
As Moonboots has already suggested use the Conformal method when unwrapping.

Then In the Object Data Properties panel > UV Maps select the Leak UV map and click on the little camera icon to make it the active UV map.