fix(ui): Improve metadata panel column spacing

Changed from HBox with spacer to GridWithColumns for better
column alignment. This prevents the right column (Video Codec,
etc.) from being pushed too far to the right edge.
This commit is contained in:
Stu Leak 2025-12-31 13:50:29 -05:00
parent 62dd39347a
commit 8403c991e9

View File

@ -9230,9 +9230,8 @@ Metadata: %s`,
makeRow("Metadata", metadata),
)
// Add spacing between the two columns
spacer := layout.NewSpacer()
twoColGrid := container.NewHBox(col1, spacer, col2)
// Two-column grid with proper spacing
twoColGrid := container.NewGridWithColumns(2, col1, col2)
// Combine filename row with two-column grid
info := container.NewVBox(fileRow, twoColGrid)