C++ programmer 0 Light Poster

Hi. I made a program and I write this code in order to make the window's size fixed. More over i am using a button to unhide some Groups on main window, But when i compile program, it crashes but when I comment out this line of code the program works fine but the window capability of setting its size dynamically according to the number of groups unhide finihes.

layout()->setConstraintSize(QLayout:: setFixedSize);

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.