fix(ui): Improve Convert module layout spacing and proportions
- Change split ratio from 60/40 to 50/50 for better balance - Add 15px horizontal spacing between left and right panels - Settings panel now has more breathing room - Fixes cramped feeling and allows window snapping Addresses user feedback about cramped layout and panels touching. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
eb5c78036d
commit
fad9ac2247
10
main.go
10
main.go
|
|
@ -8758,8 +8758,14 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
|
|||
|
||||
leftColumn := container.NewVBox(videoPanel, spacer, metaPanel)
|
||||
|
||||
// Split: left side (video + metadata) takes 60% | right side (options) takes 40%
|
||||
mainSplit := container.New(&fixedHSplitLayout{ratio: 0.6}, leftColumn, optionsPanel)
|
||||
// Add 15px spacing between left and right panels
|
||||
horizontalSpacer := canvas.NewRectangle(color.Transparent)
|
||||
horizontalSpacer.SetMinSize(fyne.NewSize(15, 1))
|
||||
|
||||
// Split: left side (video + metadata) takes 50% | right side (options) takes 50%
|
||||
mainSplit := container.New(&fixedHSplitLayout{ratio: 0.5},
|
||||
container.NewHBox(leftColumn, horizontalSpacer),
|
||||
optionsPanel)
|
||||
|
||||
// Add horizontal padding around the split (10px on each side)
|
||||
mainContent := container.NewPadded(mainSplit)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user