mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
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:
@@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user