Solving bugs that make scroll bar disappeared after replot TPS
1 unresolved thread
1 unresolved thread
closes #274 (closed)
This MR solving the problem with scroll bar disappeared when click RePlot on main control window and on TPS window as well.
Edited by Lan Dam
Merge request reports
Activity
Filter activity
assigned to @ldam
requested review from @kienle
614 613 Reuse tps_data calculated in the first plotting to replot 615 614 with new color range selected. 616 615 """ 617 self.clear() 616 self.clear(do_reset_size=False) Because reset the size which is the task of init_size() will reset the size of the main_widget to the open view port. With the first replot, the main_widget size is resize to fit all channels. If we reset the size, we have to remember the size that fit all channels and resize the main widget with that size, which is a lot of logic. So, it's better not resetting the size.
added 1 commit
- 6e28f275 - add comment to explain why do_reset_size is False for replot()
requested review from @kienle
added Release2024.3.0.1 label
added 3 commits
-
6e28f275...c78976b6 - 2 commits from branch
develop
- efffcf62 - Merge branch 'develop' into i274_replot_caused_scroll_bar_disappear
-
6e28f275...c78976b6 - 2 commits from branch
mentioned in commit a145d7ed