fix(ui): stop review-feedback field clipping placeholder and typed text
Shorten the review-prompt placeholder and localize it (session.reviewFeedbackPlaceholder, en+de) instead of a hardcoded string that overran the narrow column. Switch the growing TextBox's VerticalContentAlignment from Center to Top so multi-line input grows downward instead of being clipped top/bottom, add an auto scrollbar past MaxHeight, and top-align the prompt glyph and Resume button to match.
This commit is contained in:
@@ -249,7 +249,7 @@
|
||||
FontFamily="{StaticResource MonoFont}"
|
||||
FontSize="{StaticResource FontSizeMono}"
|
||||
Foreground="{DynamicResource AccentBrush}"
|
||||
VerticalAlignment="Center" Margin="0,0,8,0" />
|
||||
VerticalAlignment="Top" Margin="0,2,8,0" />
|
||||
<TextBox Grid.Column="1"
|
||||
Name="ReviewInput"
|
||||
Classes="review-prompt"
|
||||
@@ -258,12 +258,13 @@
|
||||
AcceptsReturn="True"
|
||||
TextWrapping="Wrap"
|
||||
MaxHeight="160"
|
||||
PlaceholderText="Feedback for the next run…"
|
||||
VerticalContentAlignment="Center"
|
||||
PlaceholderText="{loc:Tr session.reviewFeedbackPlaceholder}"
|
||||
VerticalContentAlignment="Top"
|
||||
ScrollViewer.VerticalScrollBarVisibility="Auto"
|
||||
FontFamily="{StaticResource MonoFont}"
|
||||
FontSize="{StaticResource FontSizeMono}" />
|
||||
<Button Grid.Column="2" Classes="prompt-action accent" Content="[Resume]"
|
||||
VerticalAlignment="Center" Margin="12,0,0,0"
|
||||
VerticalAlignment="Top" Margin="12,2,0,0"
|
||||
ToolTip.Tip="{loc:Tr session.reviewContinueTip}"
|
||||
Command="{Binding RejectReviewCommand}" />
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user