문제

I have a mdi area that contains 3 sub-windows.I fixed maximum and minimum size of its.Then select Fixed size policy.But, I can increase or decrease size of subwindows.

Fixed size policy

How can I fix that?

도움이 되었습니까?

해결책

From what I've seen in designer you can't really select the subwindow, only the subwindow's content widget, so that's probably what your picture shows. So you only can change the subwindow's properties directly from your code, not in designer.

Example:

for subwin in mdiArea.subWindowList():
    subwin.setMinimumSize(289, 366)
    subwin.setMaximumSize(289, 366)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top