Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#3124 closed enhancement (invalid)

GUI changing of icon and diagram coordinate system properties

Reported by: massimo ceraolo Owned by: Adeel Asghar
Priority: low Milestone: 1.9.3
Component: OMEdit Version: trunk
Keywords: Cc:

Description

Modelica allows icon and diagram view to have different sizes.
This is useful since often icons have squared size (models that extend Modelica.Icons.Example, for instance), while diagrams often are rectangular (e.g. wider than tall).

Having different sizes for icon and diagram is easy in text mode, e.g. using different values in Icon and Diagram annotations.

However, it would be nice if also when the user, while in icon or diagram view, right-clicks, and selects "properties" would change only the properties of the current view, not the others'.

Currently this is not the case. OMEdit allows different defaults for Icon and Diagram in Options|Graphical Views, but when the user changes the values by right clicking, both sizes are changed. Maybe a checkbox could be added to select whether one wants to change both views' sizes or just the current one.

Attachments (1)

properties.png (9.8 KB ) - added by Adeel Asghar 10 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Adeel Asghar, 10 years ago

Are you sure about this ticket?

There is option Copy properties to Icon/Diagram layer in the properties dialog from beginning of OMEdit. Uncheck it if you don't want to copy the properties to the other layer.

by Adeel Asghar, 10 years ago

Attachment: properties.png added

comment:2 by Martin Sjölund, 10 years ago

Milestone: 1.9.21.9.3

Milestone changed to 1.9.3 since 1.9.2 was released.

comment:3 by Adeel Asghar, 10 years ago

Resolution: invalid
Status: newclosed

in reply to:  1 comment:4 by massimo ceraolo, 10 years ago

Replying to adeas31:

Are you sure about this ticket?

There is option Copy properties to Icon/Diagram layer in the properties dialog from beginning of OMEdit. Uncheck it if you don't want to copy the properties to the other layer.

Sorry, I did not see your question when you posted it 7 weeks ago.
If I saw it I would have closed the ticket myself.
Thank you for showing me that checkbox (I should have noted but I didn't!)

Note: See TracTickets for help on using tickets.