How do I fix the edges that runs around my cube from becoming really long when scaling on an axis? I'm really new to blender, and I thought I'd make a cube for my game that has glow in the middle and edges running around it. I extruded faces inward to make the edges, but when I scale the cube in any axis the edges of the cube that face that axis becomes really long and it doesn't look good at all. Any way I can fix this? I looked around and couldn't find any solution, therefor I'm asking here. Thank you in advance!


Here's the file
If you want to stretch the cube without deforming the edges, you need to modify the mesh itself in Edit mode, because if you stretch it in Object mode will also change the edges width, so switch to Edit mode, press AltZ to have transparency, select the vertices of one side, and move them along the axis you want: