Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 91191b87 authored by David Redondo's avatar David Redondo 🏎

[Documentation] Set size policy of providers combobox to AdjustToContents

Otherwise the Combobox is to small. If we call initialize() directly instead of
through a QueuedConnection AdjustToContentsOnFirstShow works if the Toolview was
closed on start. However if you restart kdevelop while the toolview is open
the combobox will be to small, too. So just use use AdjustToContents.
parent faaf6f48
......@@ -92,6 +92,7 @@ void DocumentationView::setupActions()
addAction(mHomeAction);
mProviders = new QComboBox(this);
mProviders->setSizeAdjustPolicy(QComboBox::AdjustToContents);
auto providersAction = new QWidgetAction(this);
providersAction->setDefaultWidget(mProviders);
addAction(providersAction);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment