You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changelog:
Changed
Implemented a completely overhauled dynamic layout engine that removes the fixed minimum width constraint, allowing the control panel to resize fluidly down to compact sizes while preserving visual balance across displays.
Key Highlights
1. No Fixed Minimum Width (Modular & Dynamic Resizing)
No Monolithic Minimum Width: The control panel is no longer locked to a rigid, oversized minimum width.
Modular Space Reclaim: Minimum width is calculated strictly from the elements currently visible. Disabling the volume bar, volume icon, or custom buttons immediately reclaims their full width allowance, letting the panel shrink significantly narrower.
Optimized for 1080p & High-DPI: The base sizing dynamically accommodates 1080p monitors with display scaling (e.g. 150%) so the panel can fit into splitters, side panels, and narrow columns without blocking window resizing, while scaling up to full fidelity on 4K.
2. Smooth Space Compression on Resize
Intelligent Spacing: When narrowing the panel, extra padding on both the left (between track info and playback controls) and the right compresses first.
Anti-Truncation Protection: Controls center naturally on wide screens and lock in place once spacing reaches the minimum threshold, ensuring track titles and artist names are not prematurely truncated with ellipses.
Graceful Clipping: Narrowing past the minimum threshold progressively covers right-side elements rather than forcing sudden layout shifts.
3. Anchored Track Info
The Artwork and Information Area stay permanently anchored on the left side of the panel.
4. Normalized Height Scaling (92px Cap)
Panel height in Default UI is capped at 92px (at 96 DPI).
Controls and artwork render at 100% full scale at maximum height, scaling smoothly down to 60% at minimum height (53px).