resize the font pointSize based on the window height
<p>I have an option to change the text font size on a label, now without layout . how I can change the font pointSize of the text based on the parent window resized height. so how I can calculate the factor of height increased and based on the factor I can multiply my pointSize of font.</p>