Correction d'un bug lors de l'interpretation de l'attribut height d'un schema

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@368 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2008-08-10 16:52:37 +00:00
parent 8d7572090a
commit 5c9a6edff5

View File

@@ -318,7 +318,7 @@ void BorderInset::setRowsHeaderWidth(const qreal &new_rhw) {
*/
void BorderInset::setDiagramHeight(const qreal &height) {
// taille des lignes a utiliser = rows_height
setNbColumns(ceil(height / rows_height));
setNbRows(ceil(height / rows_height));
}
/**