且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何更改文本框的高度

更新时间:2023-12-05 10:31:52

单行TextBoxes就是这样! :笑:它们的自动大小适合字体 - 所以如果你想要一个更大的文本框,你需要放大字体,或者将TextBox设置为MultiLine。
Single line TextBoxes are like that! :laugh: They auto size to fit the Font - so if you want a bigger text box, you need to enlarge the Font, or set the TextBox to MultiLine.


如果你没有''我想使用多行 TextBox 然后你可能需要增加 TextBox 本身的字体大小,参见:更改文本框高度? [ ^ ]在 Stack Overflow
If you don''t want to use a multiline TextBox then you probably have to increase the fontsize of the TextBox itself, see:"Change the Textbox height?"[^] at Stack Overflow.