Changes between Initial Version and Version 1 of Ticket #6318


Ignore:
Timestamp:
2020-12-31T09:10:54Z (4 years ago)
Author:
massimo ceraolo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6318 – Description

    initial v1  
    1313For instance the model annotation {{{__OpenModelica_useAutoDiagramSize}}} could be introduced.
    1414When a model has this annotation, the white part of the diagram canvas should be unlimited.
    15 When the OMEdit window is resized presently the diagram area is resized to stay visible; when we are in useAutoDiagramSize, instead, it will be ''the model''  that will be resized: in this way, if the model is wide/tall we can use a wide/tall OMEdit window, so that the model is the size we want, without the need to waste desktop space to accommodate a square diagram size (the 100x100 default) or to change manually the diagram size every time we build as new or change a model.
     15When the OMEdit window is resized (and the shown model is not zoomed) presently the diagram area is resized to stay visible; when we are in useAutoDiagramSize, instead, it will be ''the model''  that will be resized: in this way, if the model is wide/tall we can use a wide/tall OMEdit window, so that the model is the size we want, without the need to waste desktop space to accommodate a square diagram size (the 100x100 default) or to change manually the diagram size every time we build as new or change a model.
    1616
    1717Honestly, I don't see drawbacks to this behavior: I see only advantages.