summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-02-25 16:46:06 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-02-25 17:21:53 +0100
commit7d95d6d445e9247504b13770837bb5b81933efb0 (patch)
treeb9af1c72a050d7d6930f1da49a7d4ec5127b29d2
parentf66ac468c63dc770f0b70f305187930a03c38f84 (diff)
sfx ClassificationCategoriesController: fix size of the dropdown
Without this, only the first two entries are visible, even if there would be plenty of space for more entries. Change-Id: Ib5115f94fe077dbf842267511fde9cf396cbbb99
-rw-r--r--sfx2/source/view/classificationcontroller.cxx2
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