ControlSystemStudio / cs-studio

Control System Studio is an Eclipse-based collections of tools to monitor and operate large scale control systems, such as the ones in the accelerator community.
https://controlsystemstudio.org/
Eclipse Public License 1.0
113 stars 96 forks source link

Fixing plotbins preference limits. #2701

Closed willrogers closed 3 years ago

willrogers commented 3 years ago

It isn't possible to enter the special value of '-3' into the databrowser preferences page.

This commit fixes that.

cc @rjwills28

kasemir commented 3 years ago

Meaning: Maybe "-1", "-2" or "-4" should also be allowed? Unclear where to draw a limit. "-10" for 10 times the screen resolution would be mad, so limit it to say -5??

willrogers commented 3 years ago

So it is. How did we not notice that?

willrogers commented 3 years ago

Logic updated to reflect that misunderstanding.

kasemir commented 3 years ago

I think that's good!