Fix: level strip width is wrong when you start open toonz (#334) (#357)

On the creation the docking panel of the level strip was assigned a minimum
width. This has no effect, but making the docking panel too big, because the
size of the underlying controls hasn't been calculated at this point.
Removing the line fixes the issue with the level strip size, without affecting
the docking window otherwise.
This commit is contained in:
Banbury 2016-05-26 06:58:23 +02:00 committed by Keisuke Ogaki
parent 210a8af034
commit 62cd4e872c

View file

@ -1106,7 +1106,6 @@ public:
{
Filmstrip *filmstrip = new Filmstrip(panel);
panel->setWidget(filmstrip);
panel->setMinimumWidth(filmstrip->width() + 2 * panel->getFloatingMargin());
panel->setIsMaximizable(false);
}
} filmStripFactory;