Difference in dimensions

Hi, can anybody help me my dynamic door. I attached screenshot explaining what I mean ,and I also share the sketchup file

Many Thanks
halfGlazeDoor.skp (343.3 KB)

You have not told the bottom rail how long (LenX) to be.

The bottom rail LenX should be =halfGlazeDoor!LenX - 2*halfGlazeDoor!stileWidth

Thank you ver much Jim

No problem.

Note that if you use the Scale Tool to change the width of the door, and then enter an exact width in the Measurements toolbar you will need to manually Redraw the component. It’s a bug in Dynamic Components.

By exact width I mean like 112cm, rather than a relative scale factor.