Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/ClaudeCodeVS/Ui/ClaudeToolWindowControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,11 @@ public ClaudeToolWindowControl()
Opacity = 0.75,
VerticalAlignment = VerticalAlignment.Center,
}, 0.96);
var attachHeader = new StackPanel { Orientation = Orientation.Horizontal };
// WrapPanel, not a horizontal StackPanel, for the same reason as the toolbar above: at a docked
// panel width the hint plus Paste/Compose/Clear overflow, and a StackPanel just runs off the edge
// (the card grew a horizontal scrollbar and Compose sat half outside it). Wrapping keeps each
// button whole and clickable at any width.
var attachHeader = new WrapPanel();
attachHeader.Children.Add(attachHint);
var pasteBtn = MakeButton(Strings.BtnPaste, PasteFromClipboard);
pasteBtn.Margin = new Thickness(6, 0, 6, 0);
Expand Down