ThermoPower icon indicating copy to clipboard operation
ThermoPower copied to clipboard

extends order leads to default diagram extent

Open maltelenz opened this issue 1 year ago • 0 comments

The examples inside ThermoPower.Examples.CISE.Simulators all extend Modelica.Icons.Example first, and then another class like Models.CISESim which specifies the example and the diagram extent.

Since the diagram extent is picked from the first extends, the result is that the default extent is used, and components end up outside of the drawing area:

image

This can easily be fixed by changing the order of the extends clauses.

maltelenz avatar Dec 11 '23 16:12 maltelenz