I think if you can make a door straight, it will likely stay straight if you follow the golden door rule: finish ALL 6 sides. Even under the hinges. And don’t glue the panels in place. I’m definitely no expert but I guess I picked a good sturdy design because the ones I have made have held up pretty well. In fact I’ve found that the openings move more than the doors. I know that because I finished a few opening euro style with no moldings – trimmed with plaster. I used a crack treatment before painting to allow movement without breaking the paint. You can see the movement but the paint is still in place. :-)

Losing fingers since 1969