问题
I created a textbox.
And there is empty place under text.
In picture, Red Line.
How can I remove that inner padding?
回答1:
You can set negative values for padding.
e.g.
<TextBox Padding="-2" Width="100" Height="18"></TextBox>
It will look like
来源:https://stackoverflow.com/questions/43908447/how-can-i-remove-inner-padding-on-textbox-wpf