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

Allow user to choose custom gap size for grid alignment #470

Merged
merged 1 commit into from
Aug 1, 2022

Conversation

will-moore
Copy link
Member

Fixes #368

Also see https://forum.image.sc/t/spacing-between-images-in-omero-figure/68161

To test:

  • select some images to align to grid
  • In the drop-down beside the grid button, choose a grid gap size in pixels or choose 'custom' size
  • If custom size is chosen, prompt asks for user input of size - only numbers are accepted
  • Now, when the align-to-grid button is clicked, the panels will align with the chosen gap between them
  • The default option "5% of panel width" is the current behaviour and can be chosen again if desired

Screenshot 2022-07-06 at 15 16 16

@imagesc-bot
Copy link

This pull request has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/spacing-between-images-in-omero-figure/68161/4

@pwalczysko
Copy link
Member

Tested on merge-ci. LGTM.

@jburel jburel merged commit ebef0c0 into ome:master Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set the gap size for the grid in Figure
4 participants