svn path=/trunk/KDE/kdebase/apps/; revision=638402
// width and height
int gridWidth = defaultSize;
int gridHeight = defaultSize;
// width and height
int gridWidth = defaultSize;
int gridHeight = defaultSize;
+ const int textSizeIndex = m_textWidthBox->currentIndex();
if (arrangement == QListView::TopToBottom) {
if (arrangement == QListView::TopToBottom) {
+ gridWidth += 96 + textSizeIndex * 32;
gridHeight += 64;
}
else {
gridHeight += 64;
}
else {
+ gridWidth += 128 + textSizeIndex * 64;
}
settings->setGridWidth(gridWidth);
}
settings->setGridWidth(gridWidth);