diff --git a/source/gui/place.cpp b/source/gui/place.cpp index 8654f3aa..9ef4986b 100644 --- a/source/gui/place.cpp +++ b/source/gui/place.cpp @@ -2436,9 +2436,9 @@ namespace nana std::vector> adjusted_children; for (auto & child : children) { - //ignores weight if it is a dockpane auto dockpn = new div_dockpane(std::move(child->name), this, child->dir); dockpn->div_owner = child->div_owner; + dockpn->weight = child->weight; adjusted_children.emplace_back(dockpn); }