@ -348,7 +348,8 @@ Item {
if ( startLayout . fillApplets > 0 ) {
if ( startLayout . fillApplets > 0 ) {
if ( mainLayout . fillApplets > 0 ) {
if ( mainLayout . fillApplets > 0 ) {
/ / ! a d j u s t f i n a l f i l l a p p l e t s i z e i n m a i n l a y o u t s f i n a l l e n g t h
/ / ! f i n a l l y a d j u s t A L L s t a r t L a y o u t f i l l a p p l e t s s i z e i n m a i n l a y o u t s f i n a l l e n g t h
noStart = startLayout . fillApplets ;
sizePerAppletStart = ( ( max_length / 2 ) - ( mainLayout . grid . length / 2 ) - startLayout . sizeWithNoFillApplets ) / noStart ;
sizePerAppletStart = ( ( max_length / 2 ) - ( mainLayout . grid . length / 2 ) - startLayout . sizeWithNoFillApplets ) / noStart ;
}
}
@ -357,13 +358,13 @@ Item {
if ( endLayout . fillApplets > 0 ) {
if ( endLayout . fillApplets > 0 ) {
if ( mainLayout . fillApplets > 0 ) {
if ( mainLayout . fillApplets > 0 ) {
/ / ! a d j u s t f i n a l f i l l a p p l e t s i z e i n m a i n l a y o u t s f i n a l l e n g t h
/ / ! f i n a l l y a d j u s t A L L e n d L a y o u t f i l l a p p l e t s s i z e i n m a i n l a y o u t s f i n a l l e n g t h
noEnd = endLayout . fillApplets ;
sizePerAppletEnd = ( ( max_length / 2 ) - ( mainLayout . grid . length / 2 ) - endLayout . sizeWithNoFillApplets ) / noEnd ;
sizePerAppletEnd = ( ( max_length / 2 ) - ( mainLayout . grid . length / 2 ) - endLayout . sizeWithNoFillApplets ) / noEnd ;
}
}
computeStep2ForLayout ( endLayout . grid , sizePerAppletEnd , noEnd , inMaxAutoFillCalculations ) ;
computeStep2ForLayout ( endLayout . grid , sizePerAppletEnd , noEnd , inMaxAutoFillCalculations ) ;
}
}
}
}
function updateFillAppletsWithOneStep ( inMaxAutoFillCalculations ) {
function updateFillAppletsWithOneStep ( inMaxAutoFillCalculations ) {