346
349
void News::constraintsEvent(Plasma::Constraints constraints)
349
352
if (constraints & Plasma::FormFactorConstraint || constraints & Plasma::SizeConstraint ) {
350
353
if (formFactor() == Plasma::Horizontal) {
351
354
int minSize = (m_feedlist.size() * m_scrollerList.first()->minimumSize().height()) + m_header->size().height();
354
357
//group all feeds together so it can fit (only a single time):
356
359
foreach (const QString &feed, m_feedlist) {