Merge branch 'hotfix-1.6.2' into develop-1.7

This commit is contained in:
Jinhao
2019-03-09 21:54:57 +08:00
2 changed files with 9 additions and 1 deletions

View File

@@ -241,6 +241,14 @@ checkbox& group::add_option(std::string text)
group& group::enable_format_caption(bool format)
{
impl_->caption.format(format);
// if the caption is already set, make sure the layout is updated
if(!caption().empty())
{
impl_->update_div();
impl_->place_content.collocate();
API::refresh_window(*this);
}
return *this;
}