non-decreasing width of the windows
Hello,
I am trying to decrease the width of the window. However, the width cannot be smaller than 80 pxl even though the code forces it to be smaller than that value. I make the buttons on the window hidden, but it does not make use.
Is there a way to be able to implement a window having a small width (about 50 pxl width)?
Thanks...
Re: non-decreasing width of the windows
can you give a minimal compilable example reproducing the problem?
Re: non-decreasing width of the windows
Here it is:
QDialog *w = new QDialog(this);
w->setGeometry(1025, 200, 20, 254);
w->setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
w->exec();
Thanks...