Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

OMEdit BUG: changes in Icon size (option) dose not have an effect

OMEdit BUG: changes in Icon size (option) dose not have an effect

Hi!
I'm using OMEdit Ver. 1.9.0  r17628.
Under tools->options I changed the icon size to 100x100, just for fun.
Bun now I wanted to change it back to 10x10 and it dose not have any effect.
I restarted the editor several times, but this seems to be a bug.

By the way: Can you please implement an "icon snap to the grid" function.
Coordinates like {-31.1321,-35.3773} are useless!
Integer precission would be sufficient.

Thank you!

Kind Regards
Jan

Re: OMEdit BUG: changes in Icon size (option) dose not have an effect

What do you mean by you change the icon size? There is not icon size in options.

Yes, snap to grid can be implemented. Please add a new enhancement ticket here https://trac.openmodelica.org/OpenModelica/

Adeel.

Re: OMEdit BUG: changes in Icon size (option) dose not have an effect

Hi Adeel,

thank you for your response. I've opened an enhancement ticket regarding the snap to grid option.
With icon size I mean the following:

In OMEdit under Tools->Options->Graphical view-> Tab: "Schema View".
I can change the component scaling factor (default is "0.1") or the size of the view (100x100).
All these options will ONLY work, if you unload and load the model again.
If you have an already loaded model and drag new items in it, these setting will have no effect.

I reinstalled Modelica and tried now the nightly build 1.9.1 r18126 - it's the same problem.

Kind Regards
Jan

Re: OMEdit BUG: changes in Icon size (option) dose not have an effect

The options are only read once when you create the model. If you want to change the behavior of the existing models then you must change its local settings. Right click inside the icon/diagram view and choose properties. Note that changing the values will not update the existing components.

Adeel.

Re: OMEdit BUG: changes in Icon size (option) dose not have an effect

Hi Adeel!
Your advice with the right click is working perfectly - thanks a lot!

There are 0 guests and 0 other users also viewing this topic
You are here: