What to do about OS forcing window lower that it's minimum width?
-
The only think i could think was
@void MainWindow::resizeEvent(QResizeEvent *e){
if(this->width()<this->minimumWidth())
QTimer::singleShot(1000, this, SLOT(wrong_size_of_window()));
}void MainWindow::wrong_size_of_window()
{
this->resize(QSize(this->minimumWidth(),this->height()));
}@But this still doesn't work quite well. Video demonstrating: (the reason i have set the singeshot timer to 1000 is just so you see what the function does.)
"http://www.youtube.com/watch?v=OwE5h82-Pm8&feature=youtu.be
":http://www.youtube.com/watch?v=OwE5h82-Pm8&feature=youtu.beIf in 0:08 the fuction didn't resized the window, the buttons would be with semi texts, etc.....
Ubuntu 13.04.. -