avoid collocate a placed widget with size empty als workaround fixing 0% in left field split
This commit is contained in:
@@ -2151,6 +2151,8 @@ namespace nana
|
||||
if (impl_->root_division && impl_->window_handle)
|
||||
{
|
||||
impl_->root_division->field_area = API::window_size(impl_->window_handle);
|
||||
if (impl_->root_division->field_area.empty()) return;
|
||||
|
||||
impl_->root_division->collocate(impl_->window_handle);
|
||||
|
||||
for (auto & field : impl_->fields)
|
||||
|
||||
Reference in New Issue
Block a user