mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-01 09:09:58 +01:00
Fix source typo 'cross_min_heigth'
This commit is contained in:
committed by
Laurent Trinques
parent
8242e4cfd7
commit
4caf5e0211
@@ -29,7 +29,7 @@
|
||||
//define the height of the header.
|
||||
static int header = 5;
|
||||
//define the minimal height of the cross (without header)
|
||||
static int cross_min_heigth = 33;
|
||||
static int cross_min_height = 33;
|
||||
|
||||
/**
|
||||
@brief CrossRefItem::CrossRefItem
|
||||
@@ -520,7 +520,7 @@ void CrossRefItem::setUpCrossBoundingRect(QPainter &painter)
|
||||
if (no_str.isEmpty() && nc_str.isEmpty()) return;
|
||||
|
||||
//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
|
||||
QRectF no_bounding;
|
||||
|
||||
Reference in New Issue
Block a user