mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-19 18:19: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.
|
//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;
|
||||||
|
|||||||
Reference in New Issue
Block a user