Skip to content

Fix scalar bar location inconsistency

  • closes #21346 (closed)
  • If there are two or more scalar bars, both with location=AnyLocation, the ::PlaceInView method placed the second and others in upper right corner.
  • The cause of the bug is that AnyLocation was considered an occupied location.
  • The bug is fixed by removing all instances of AnyLocation from the occupied location vector.

Added a test to verify that location is not changed by ::PlaceInView when it is AnyLocation

Merge request reports