Oh no. Apple changed the behaviour of Xcode on macOS 26 (just upgraded): When collapsing the left panel, only the left-most editor resizes. It used to be that both (I have two) resized equally.
This is a a bit of a bummer. When I am on a small screen, I sometimes want to view two files, side-by-side and now that mode takes some fiddling around.