EDA_TEXT Get/SetTextSize should use VECTOR2I

This commit is contained in:
Marek Roszko
2022-05-14 08:16:15 -04:00
parent 5c7a79e287
commit 88c7322a0d
7 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -530,7 +530,7 @@ wxString FIELDS_GRID_TABLE<T>::GetValue( int aRow, int aCol )
return StringFromBool( field.IsBold() );
case FDC_TEXT_SIZE:
return StringFromValue( m_frame->GetUserUnits(), field.GetTextSize().GetHeight(), true );
return StringFromValue( m_frame->GetUserUnits(), field.GetTextHeight(), true );
case FDC_ORIENTATION:
if( field.GetTextAngle().IsHorizontal() )