Bullet's pref box glitch - looks like qt 4.5 changed some small finger paint and we need

to add small width so all bullets are again inside the area.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31090 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-08-17 14:22:40 +00:00
parent eb657c9f8a
commit 788ae33371

View File

@ -77,7 +77,7 @@ void BulletsModule::setupPanel(QListWidget * lw, QString const & panelname,
lw->setGridSize(QSize(w, h)); lw->setGridSize(QSize(w, h));
// the widening by 21 is needed to avoid wrapping // the widening by 21 is needed to avoid wrapping
lw->resize(6 * w + 21, 6 * h); lw->resize(6 * w + 21, 6 * h);
bulletpaneSW->setMinimumSize(6 * w, 6 * h + 6); bulletpaneSW->setMinimumSize(6 * w + 5, 6 * h + 6);
// get individual bullets from pixmap // get individual bullets from pixmap
for (int row = 0; row < 6; ++row) { for (int row = 0; row < 6; ++row) {