Unbreak resizing and scrolling.

This commit is contained in:
Tobias Rundstrom 2006-02-26 14:36:54 -03:00
parent 5dec0fb5fe
commit 56dd4cf3ee
5 changed files with 34 additions and 17 deletions

View file

@ -101,6 +101,10 @@ PlaylistList::setPixmaps (Skin *skin)
delete m_fontmetrics;
}
m_fontmetrics = new QFontMetrics (*m_font);
for (int i = 0; i < 100; i++) {
PlaylistItem (this, i);
}
}
@ -118,7 +122,7 @@ PlaylistList::setSize (int width, int height)
} else {
ny = size().height();
}
resize (ny, nx);
resize (nx, ny);
}