Skip to content

feat(ui): improved inspector resizing with grid snapping and corner resize handle - #1549

Merged
CyanVoxel merged 5 commits into
devfrom
feat/inspector-snapping
Oct 22, 2026
Merged

CyanVoxel merged 5 commits into
devfrom
feat/inspector-snapping

Conversation

@CyanVoxel

Copy link
Copy Markdown
Member

Note

This PR is targeting the dev branch for release with Alpha v9.7.

Summary

(Builds off of #1548) This PR aims to improve Inspector preview resizing by snapping it to the thumbnail grid when resizing splitters (not the window), automatically resizing the height of previews with different aspect ratios while keeping them top-aligned, and by adding a new corner resize handle to the preview area to easily resize the preview diagonally across both splitters in one go.

This behavior is meant to be an "it just works" approach where you get the maximum preview size in the space available quickly and easily. Resizing a preview vertically when it no longer increases the preview size is no longer allowed, instead locking to the maximum height given the aspect ratio of the preview item. Previous tall preview drags are remembered when browsing items with different sizes, so the next time you come across a tall preview it'll expand back to the point you had previously had the splitter dragged to, at most.

This change is also made forward-compatible with the eventual feature to allow the inspector to be docked on either side of the window. Other splitter styles were not changed in this PR as I'll touch those in a more design-focused PR shortly.

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable

@CyanVoxel CyanVoxel added this to the Alpha v9.7.0 milestone Oct 22, 2026
@CyanVoxel CyanVoxel added Type: Feature New feature or request Type: QoL A quality of life (QoL) enhancement or suggestion Type: UI/UX User interface and/or user experience labels Oct 22, 2026
@CyanVoxel CyanVoxel moved this to 🍃 Pending Merge in TagStudio Development Oct 22, 2026
@CyanVoxel CyanVoxel added the TagStudio: Thumbs/Previews File thumbnails or previews label Oct 22, 2026
@CyanVoxel
CyanVoxel merged commit 0bf9f72 into dev Oct 22, 2026
12 checks passed
@CyanVoxel
CyanVoxel deleted the feat/inspector-snapping branch October 22, 2026 03:48
@github-project-automation github-project-automation Bot moved this from 🍃 Pending Merge to ✅ Done in TagStudio Development Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

TagStudio: Thumbs/Previews File thumbnails or previews Type: Feature New feature or request Type: QoL A quality of life (QoL) enhancement or suggestion Type: UI/UX User interface and/or user experience

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

1 participant