Open modelica-trac-importer opened 6 years ago
Comment by dhedberg on 2 Mar 2015 12:11 UTC I don't see any reason why we should make exceptions for any item. Components and bitmap items can be flipped, why not text? It also does make sense in some cases, for instance when you use a font with symbols, such as Wingdings.
Changelog removed by dhedberg on 2 Mar 2015 12:11 UTC
Comment by hansolsson on 9 Mar 2016 09:59 UTC Note that there are two possibilities for flipping: either the specific item is flipped, or the component, with them in the icon, is flipped.
Bitmaps are flipped with the component - which is normally a good idea; and user will notice if it isn't. (And now you can flip bitmaps specifically.)
Having texts going in reverse for every component that is flipped would be a loss of readability, e.g. Derivative block having DT1 as text.
But for some specific texts with e.g. wingdings it is logical to flip - I would propose we add an attribute to text specifying this property if we view this as important (adding a non-flippable attribute to bitmaps seems considerably lower priority).
Comment by hansolsson on 1 Mar 2017 09:27 UTC Difference between drawing text in diagram (directly flipping seems intended) and flipping an icon with a text (the flipping of the text is often not intentional). Seems we need an attribute. But after Modelica 3.4. Note that we should investigate if #745 was fixed for Modelica 3.2.2.
Reported by dietmarw on 24 May 2012 12:36 UTC Ticket #745 made it apparent that the behaviour of text objects on the Icon layer when flipping is not defined. I've seen that at least two tools have decided to not flip text objects which probably makes sense. Still it would be good to have that properly specified.
Migrated-From: https://trac.modelica.org/Modelica/ticket/746