Fix source typo 'cross_min_heigth'

This commit is contained in:
luz paz
2022-12-06 06:10:10 -05:00
committed by Laurent Trinques
parent 8242e4cfd7
commit 4caf5e0211

View File

@@ -29,7 +29,7 @@
//define the height of the header. //define the height of the header.
static int header = 5; static int header = 5;
//define the minimal height of the cross (without header) //define the minimal height of the cross (without header)
static int cross_min_heigth = 33; static int cross_min_height = 33;
/** /**
@brief CrossRefItem::CrossRefItem @brief CrossRefItem::CrossRefItem
@@ -520,7 +520,7 @@ void CrossRefItem::setUpCrossBoundingRect(QPainter &painter)
if (no_str.isEmpty() && nc_str.isEmpty()) return; if (no_str.isEmpty() && nc_str.isEmpty()) return;
//this is the default size of cross ref item //this is the default size of cross ref item
QRectF default_bounding(0, 0, 40, header + cross_min_heigth); QRectF default_bounding(0, 0, 40, header + cross_min_height);
//Bounding rect of the NO text //Bounding rect of the NO text
QRectF no_bounding; QRectF no_bounding;