懂视

qt的窗口sethidden有很大空白

2024-09-15 23:43:06

1、首先检查StyleSheet,是否指定了padding。2、其次检查Layout是否有margin和spacing。3、最后可以通过对setVerticalScrollMode即可。