About setting the height of the pelvis when the legs are scaled during character customization

Hello friends, please help

I’m working on character customization and I have a problem.
When scaling Thigh and Calf, I plan to align the soles with the floor by adding or subtracting the height values ​​of the pelvis, but I can’t find a way.

If you have experience like this, please ask for help