Skip to content

Commit

Permalink
Increase extent and set font size.
Browse files Browse the repository at this point in the history
Note: The extents are different - the reason is that *- are not vertically aligned in Arial (verified in MS Word).
  • Loading branch information
HansOlsson authored and beutlich committed May 24, 2021
1 parent ecc0b41 commit 2403244
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Complex.mo
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@ operator record Complex "Complex number with overloaded operators"
extent={{-100,-100},{100,100}},
radius=25.0),
Text(
extent={{-100,100},{100,-80}},
extent={{-200,-200},{200,250}},
textColor={128,128,128},
textString="-")}));
textString="-",
fontName="Arial")}));
end '-';

encapsulated operator '*' "Multiplication"
Expand Down Expand Up @@ -133,8 +134,9 @@ operator record Complex "Complex number with overloaded operators"
extent={{-100,-100},{100,100}},
radius=25.0),
Text(
extent={{-100,46},{102,-100}},
extent={{-200,-200},{200,80}},
textColor={128,128,128},
fontName="Arial",
textString="*")}));
end '*';

Expand Down

0 comments on commit 2403244

Please sign in to comment.