ThermoPower
ThermoPower copied to clipboard
extends order leads to default diagram extent
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:
This can easily be fixed by changing the order of the extends clauses.