Merge pull request #140 from admsasha/master

fix smart resizer
This commit is contained in:
glixx 2019-06-26 02:07:08 +03:00 committed by GitHub
commit e5495550ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -186,7 +186,7 @@ contains(USE_SYSTEM_RTMIDI, ON){
PKGCONFIG += rtmidi
}else{
message(building using bundled rtmidi)
INCLUDEPATH += 3rdparty
INCLUDEPATH += src/3rdparty
SOURCES+= src/3rdparty/rtmidi/RtMidi.cpp
}

View File

@ -270,8 +270,7 @@ void GuiSidePanel::updateTranslate(){
if (delta>maxDeltaWidth) maxDeltaWidth=delta;
}
this->setMinimumWidth(300+maxDeltaWidth);
this->setMaximumWidth(300+maxDeltaWidth);
}