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."
This commit is contained in:
Stu Leak 2026-01-02 18:18:40 -05:00
parent 6b218e8683
commit 11cd7623fe

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