Open Source & Free ❤️

what is the best way to resize a compoment acording his parent?