简体   繁体   中英

How to make layout fill everything inside qt tab widget?

I added a tab widget in my Qt application, and then added a vertical layout in the first tab, and added things inside the vertical layout. However, I cannot make the vertical layout fill the entire tab, I can only set the dimensions with the mouse. There's no option to make it fill everything.

在此处输入图片说明

How to make a vertical layout (or any widget) fill the entire widget tab?

You need to assign a layout to each tab. In Creator, look for the layout in the widget hierarchy!

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM