Fix a few size issues after the internal units change
This commit is contained in:
parent
ce77106994
commit
4a65e9e515
|
@ -42,11 +42,11 @@ SCH_BUS_ENTRY_BASE::SCH_BUS_ENTRY_BASE( KICAD_T aType, const wxPoint& pos, char
|
|||
SCH_ITEM( NULL, aType )
|
||||
{
|
||||
m_pos = pos;
|
||||
m_size.x = 100;
|
||||
m_size.y = 100;
|
||||
m_size.x = Mils2iu( 100 );
|
||||
m_size.y = Mils2iu( 100 );
|
||||
|
||||
if( shape == '/' )
|
||||
m_size.y = -100;
|
||||
m_size.y *= -1;
|
||||
|
||||
m_isDanglingStart = m_isDanglingEnd = true;
|
||||
}
|
||||
|
|
|
@ -66,8 +66,8 @@ enum EDA_DRAW_MODE_T {
|
|||
* application define their own default policy starting with this
|
||||
* (usually with a user option or project).
|
||||
**/
|
||||
#define DEFAULT_SIZE_TEXT 50 // default text height (in mils, i.e. 1/1000")
|
||||
#define DIM_ANCRE_TEXTE 2 // Anchor size for text
|
||||
#define DEFAULT_SIZE_TEXT Mils2iu( 50 ) // default text height (in mils, i.e. 1/1000")
|
||||
#define DIM_ANCRE_TEXTE Mils2iu( 2 ) // Anchor size for text
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue