Skip to content
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

Napari GUI: Fix voxel size precision, font size, and rearrange widgets #227

Merged
merged 4 commits into from
May 1, 2024

Conversation

qin-yu
Copy link
Collaborator

@qin-yu qin-yu commented Apr 29, 2024

  1. Fix Napari UI: Add model widget only takes two decimal in resolution #226: Previously, the voxel size was limited to two decimal places, which usually allowed for 1 or 2 significant figures. It now has 5 decimal places, which should be accurate enough for most purposes.
  2. Fix Napari UI: Widgets too wide yet don't have enough space for numbers to show #213: Previously, the sliders had a large label size that could not fully display the values. The font size has now been adjusted.
  3. Improve the fix for Too many elements in extra-seg #218: The previous fix involved hiding all widgets and allowing users to choose one to display. Now, all widgets are shown at launch, and users can select one and hide the others.
  4. Rearrange widgets: Historically, the proofreading tools and I/O were considered "Main." However, as Napari-based PlantSeg has evolved, the tabs need to be rearranged.

image

I believe the previous "Main" was a legacy from Napari GUI being a proofreading tool only, but now proofreading is just a part of PlantSeg Napari.

I disabled the widget selection in pred and seg because of the reduced number of widgets in each tab.

Relates to #218 and #221
@qin-yu qin-yu added bug Something isn't working enhancement New feature or request GUI Napari GUI related labels Apr 29, 2024
@qin-yu qin-yu self-assigned this May 1, 2024
@qin-yu qin-yu merged commit 964923e into master May 1, 2024
1 check passed
@qin-yu qin-yu deleted the qy/fix-napari-numbers branch May 1, 2024 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request GUI Napari GUI related
Projects
None yet
1 participant