diff options
-rw-r--r-- | sfx2/source/view/classificationcontroller.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/view/classificationcontroller.cxx b/sfx2/source/view/classificationcontroller.cxx index de9bd3cee0eb..8c6bd09b3eb1 100644 --- a/sfx2/source/view/classificationcontroller.cxx +++ b/sfx2/source/view/classificationcontroller.cxx @@ -117,6 +117,8 @@ void ClassificationCategoriesController::statusChanged(const frame::FeatureState std::vector<OUString> aNames = aHelper.GetBACNames(); for (const OUString& rName : aNames) m_pCategories->InsertEntry(rName); + // Normally VclBuilder::makeObject() does this. + m_pCategories->EnableAutoSize(true); } } // namespace sfx2 |