I have 2 TextBoxes in my wpf app, one for user name and other for password, both have FontSize=20, but the text appears like this:
TextBox
FontSize=20
You have given explicit Height set to 40 to these TextBox controls.
Height
40
Please remove it and let them take enough space to show their content.