nion-software / nionswift

Nion Swift is open source scientific image processing software integrating hardware control, data acquisition, visualization, processing, and analysis using Python. Nion Swift is easily extended using Python. It runs on Windows, Linux, and macOS.
http://nion.com/swift
GNU General Public License v3.0
44 stars 34 forks source link

Making Inspector more useful - Collapsed by default, maintaining state #1089

Closed Tiomat85 closed 1 week ago

Tiomat85 commented 3 weeks ago

In the spirit of looking at the Inspector as a whole, can I propose that on Swift launch all Inspector sections are collapsed by default rather than expanded, and we store by section name whether it is currently expanded/collapsed. If the sections are well organised and named it should be easy to find what you are trying to find, and clicking to expand a section (where you can see all section names because of not having everything expanded) is less hassle than needing to scroll 3 pages down.

Originally posted by @Tiomat85 in https://github.com/nion-software/nion-internal/discussions/121#discussioncomment-9937235

This issue, if resolved, may also supersede Issue #66.

cmeyer commented 3 weeks ago

I don't think this is a good idea. See comments in the discussion.

Edit: Maybe I've misunderstood - so switching contexts (i.e. clicking on a different display panel) does not reset, right? That would be bad. I'll reply on the internal discussion thread.

Ion-e commented 1 week ago

Issue verified as fixed.

@cmeyer thoughts on #66? Also, this issue needs closing :)