阅读背景:

调整QT的QTextEdit以匹配文本高度:maximumViewportSize()

来源:互联网 

I am trying to use a QTextEdit widget inside of a form containing several QT widgets. The form itself sits inside a QScrollArea that is the central widget for a window. My intent is that any necessary scrolling will take place in the main QScrollArea (rather than inside any widgets), and any widgets inside will automatically resize their height to hold their contents.I am trying to use a QTextEdit widget inside of




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: