Merge pull request #2814 from manongjohn/fix_styleeditor_width

Stop Width Change on Style Editor on Maximize
This commit is contained in:
Rodney 2019-10-16 23:04:29 -05:00 committed by GitHub
commit f4c9373b45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -436,7 +436,8 @@ void DockLayout::redistribute() {
QWidget *widget = m_items.at(i)->widget();
if (widget) {
std::string name = widget->objectName().toStdString();
if (widget->objectName() == "FilmStrip") {
if (widget->objectName() == "FilmStrip" ||
widget->objectName() == "StyleEditor") {
widgets.push_back(widget);
widget->setFixedWidth(widget->width());
}