Skip to content

Commit

Permalink
fix an issue that weight is ignored by dockpane
Browse files Browse the repository at this point in the history
  • Loading branch information
cnjinhao committed Oct 8, 2015
1 parent 573a5be commit 500aa03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/gui/place.cpp
Expand Up @@ -2436,9 +2436,9 @@ namespace nana
std::vector<std::unique_ptr<division>> 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);
}

Expand Down

0 comments on commit 500aa03

Please sign in to comment.