You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.流布局里动态设置单元Qwidget宽高,使用setMaximumSize,resize,setMiniMumSize时,单元宽高不是设定值(如设定宽300 高100),而是80*77的宽高,并报有错:
QWidget::setLayout: Attempting to set QLayout "" on ShowScreen "", which already has a layout
2.如果用setFixedSize是可以得到设定值,但只是初始化的值,无法动态再修改。
Environment : / 环境
1.流布局里动态设置单元Qwidget宽高,使用setMaximumSize,resize,setMiniMumSize时,单元宽高不是设定值(如设定宽300 高100),而是80*77的宽高,并报有错:
QWidget::setLayout: Attempting to set QLayout "" on ShowScreen "", which already has a layout
2.如果用setFixedSize是可以得到设定值,但只是初始化的值,无法动态再修改。
代码 :
The text was updated successfully, but these errors were encountered: