Make burn-in and transparent video windows resizable#11638
Merged
Conversation
Both windows were fixed-size (CanResize = false). Make them resizable while keeping a sensible minimum size and growing the right content. - Enable CanResize; open at the natural content size and lock that in as the minimum (MinWidth/MinHeight), allowing the window to grow. - Switching to/from batch mode re-fits the window to that mode's content and re-locks the minimum, so batch mode gets the wider size it needs (as it did when the window auto-sized). - Grow the preview in single mode and the batch file list in batch mode via a star column/row, toggled by IsBatchMode. - Keep the left settings column together in a top-aligned panel so the extra vertical space goes to the preview instead of opening a gap. - Burn-in: shrink the video preview in batch mode so the file list has room; let it stretch in single mode. Fixes #11633 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #11633
What
Makes the Burn-in video (
BurnInWindow) and Transparent video (TransparentSubtitlesWindow) windows resizable. Previously both were fixed-size (CanResize = false).Behavior
MinWidth/MinHeight, then allows free growing (SizeToContent.Manual+CanResize = true).IsBatchMode:Notes
dotnet build(0 warnings / 0 errors). Visual behavior in the running Avalonia app is worth a quick check.🤖 Generated with Claude Code