|
|
|
@ -1500,7 +1500,7 @@ void PageView::slotRelayoutPages() |
|
|
|
// Here we find out column's width and row's height to compute a table
|
|
|
|
// Here we find out column's width and row's height to compute a table
|
|
|
|
// so we can place widgets 'centered in virtual cells'.
|
|
|
|
// so we can place widgets 'centered in virtual cells'.
|
|
|
|
int nCols = Settings::viewColumns(), |
|
|
|
int nCols = Settings::viewColumns(), |
|
|
|
nRows = (int)ceilf( (float)pageCount / (float)nCols ), |
|
|
|
nRows = (int)ceil( (float)pageCount / (float)nCols ), |
|
|
|
* colWidth = new int[ nCols ], |
|
|
|
* colWidth = new int[ nCols ], |
|
|
|
* rowHeight = new int[ nRows ], |
|
|
|
* rowHeight = new int[ nRows ], |
|
|
|
cIdx = 0, |
|
|
|
cIdx = 0, |
|
|
|
|