-
Notifications
You must be signed in to change notification settings - Fork 7
2057 Allow Resetting GUI to Default Layout #2838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -0,0 +1 @@ | |||
#2057: Updated the code to allow resetting GUI to default layout through a view menu as well as the right-click menu. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description is a bit ambiguous, perhaps we could mention resetting floating windows
@@ -0,0 +1 @@ | |||
#1619: Updated the code to prevent the sidebar from minimising at all. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has this file ended up in this PR by accident?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hussam-stfc I forgot to add the release notes for that issue when I closed it, so I snuck them in here. 👀
Issue Closes #2057
Description
main/view.py
by:reset_layout
function that handles closing and reopening all stacks, while also catching errors if the action is unsuccessful.stack_visualiser/view.py
by adding a Reset main window layout action to the right-click menu.reset_layout
, covering:Developer Testing
python -m pytest -vs
python -m unittest -v mantidimaging.gui.windows.test.view_test
Acceptance Criteria and Reviewer Testing
python -m pytest -vs
Expected Behaviour
reset_layout_to_default.mp4
Documentation and Additional Notes