From 62cd4e872c4f819086ed21078bb5e3d3b0414b66 Mon Sep 17 00:00:00 2001 From: Banbury Date: May 26 2016 04:58:23 +0000 Subject: 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. --- diff --git a/toonz/sources/toonz/tpanels.cpp b/toonz/sources/toonz/tpanels.cpp index f9b8cee..20294d6 100644 --- a/toonz/sources/toonz/tpanels.cpp +++ b/toonz/sources/toonz/tpanels.cpp @@ -1106,7 +1106,6 @@ public: { Filmstrip *filmstrip = new Filmstrip(panel); panel->setWidget(filmstrip); - panel->setMinimumWidth(filmstrip->width() + 2 * panel->getFloatingMargin()); panel->setIsMaximizable(false); } } filmStripFactory;