mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-19 10:09:58 +01:00
fixed English comments
This commit is contained in:
@@ -63,7 +63,7 @@ void QetGraphicsTableItem::adjustTableToFolio(
|
||||
--size_.rwidth(); }
|
||||
table->setSize(size_);
|
||||
|
||||
//Calcul the maximum row to display to fit the nomenclature into diagram
|
||||
//Calculate the maximum row to display to fit the nomenclature into diagram
|
||||
auto available_height = drawable_rect.height() - table->pos().y();
|
||||
auto min_row_height = table->minimumRowHeight();
|
||||
table->setDisplayNRow(int(floor(available_height/min_row_height))); //Convert a double to int, but max_row_to_display is already rounded an integer so we assume everything is ok
|
||||
|
||||
Reference in New Issue
Block a user