fix: remove minimum size constraints for more fluid splitter movement

Removed rigid minimum size constraints on metadata panel and labeled
panels to allow the horizontal splitter to move more fluidly across
the full range of the window.

Changes:
- Commented out outer.SetMinSize() in buildMetadataPanel (line 9282)
- Commented out rect.SetMinSize() in makeLabeledPanel (line 9267)

This addresses user feedback: "The horizontal movement of the spacer
between the settings and the player/metadata frames is way too tight,
we need to be able to move things way more fluidly."

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Stu Leak 2026-01-02 18:18:40 -05:00
parent 632cb6667c
commit cb5adfcfc7

View File

@ -9263,7 +9263,8 @@ func makeLabeledPanel(title, body string, min fyne.Size) *fyne.Container {
rect.CornerRadius = 8
rect.StrokeColor = gridColor
rect.StrokeWidth = 1
rect.SetMinSize(min)
// Don't set rigid MinSize - let the container be flexible
// rect.SetMinSize(min)
header := widget.NewLabelWithStyle(title, fyne.TextAlignLeading, fyne.TextStyle{Bold: true})
desc := widget.NewLabel(body)
@ -9278,7 +9279,8 @@ func buildMetadataPanel(state *appState, src *videoSource, min fyne.Size) (fyne.
outer.CornerRadius = 8
outer.StrokeColor = gridColor
outer.StrokeWidth = 1
outer.SetMinSize(min)
// Don't set rigid MinSize - let the container be flexible for better splitter movement
// outer.SetMinSize(min)
header := widget.NewLabelWithStyle("Metadata", fyne.TextAlignLeading, fyne.TextStyle{Bold: true})
var top fyne.CanvasObject = header