D27583: rebuild mosaic multiple dataset
Johnny Jazeix <[email protected]>
| Newsgroups | gmane.comp.kde.education |
|---|---|
| Message-ID | <[email protected]> |
jjazeix added inline comments.
INLINE COMMENTS
> dekumar wrote in Mosaic.qml:136
> @jjazeix For each nbitems Data.qml file contains number of rows and columns for questionlayout and selectorLayout. For example
> "selectorLayout" :{8:[8,1]}, so for nbitems=8, columns= 8 and rows = 1.
Ok, I was just checking regarding to the old code where it was:
property int nbSelectorColumns: horizontal ?
Activity.selectorLayout[nbItems][0] :
Activity.selectorLayout[nbItems][0] / 2
so I expected it to be twice the same.
Note that it is about the nbSelectorColumns and the condition is on the layout, it is not related to any row.
REPOSITORY
R2 GCompris
REVISION DETAIL
https://phabricator.kde.org/D27583
To: dekumar, #gcompris_improvements, jjazeix, timotheegiet, echarruau
Cc: kde-edu, narvaez, apol