Commit 33703a46 authored by Kai Koehne's avatar Kai Koehne
Browse files

Utils::DetailsButton: Don't make button vertically expanding

Change default vertical size policy of the DetailsButton from
Expanding to Preferred: This way it won't be 'greedy' and enlarge
just because there is space left.
parent c7652667
......@@ -74,7 +74,7 @@ void FadingPanel::fadeTo(float value)
DetailsButton::DetailsButton(QWidget *parent) : QAbstractButton(parent), m_fader(0)
{
setCheckable(true);
setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding);
setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
setText(tr("Details"));
}
......
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