fix(ui): move agent-settings expander out of capped scroller so it expands properly
This commit is contained in:
@@ -88,8 +88,8 @@
|
|||||||
</Grid>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<!-- ── Main body: agent strip (auto) · terminal (flex) · steps+notes (auto/capped) ── -->
|
<!-- ── Main body: agent strip (auto) · terminal (flex) · steps+notes (auto/capped) · agent overrides (auto) ── -->
|
||||||
<Grid RowDefinitions="Auto,*,Auto">
|
<Grid RowDefinitions="Auto,*,Auto,Auto">
|
||||||
|
|
||||||
<!-- Agent strip -->
|
<!-- Agent strip -->
|
||||||
<islands:AgentStripView Grid.Row="0"/>
|
<islands:AgentStripView Grid.Row="0"/>
|
||||||
@@ -150,8 +150,12 @@
|
|||||||
LostFocus="NotesLostFocus"/>
|
LostFocus="NotesLostFocus"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!-- Agent settings overrides -->
|
</StackPanel>
|
||||||
<Expander Header="Agent settings (overrides)"
|
</ScrollViewer>
|
||||||
|
|
||||||
|
<!-- Agent settings overrides — own row so expanding shrinks the terminal (down to its MinHeight) instead of scrolling inside the capped section -->
|
||||||
|
<Expander Grid.Row="3"
|
||||||
|
Header="Agent settings (overrides)"
|
||||||
IsExpanded="False"
|
IsExpanded="False"
|
||||||
IsEnabled="{Binding IsAgentSectionEnabled}"
|
IsEnabled="{Binding IsAgentSectionEnabled}"
|
||||||
Margin="18,0,18,12">
|
Margin="18,0,18,12">
|
||||||
@@ -170,7 +174,7 @@
|
|||||||
<TextBlock Text="System prompt (appended)" />
|
<TextBlock Text="System prompt (appended)" />
|
||||||
<TextBox Text="{Binding TaskSystemPrompt, Mode=TwoWay}"
|
<TextBox Text="{Binding TaskSystemPrompt, Mode=TwoWay}"
|
||||||
AcceptsReturn="True" TextWrapping="Wrap" MinHeight="60"
|
AcceptsReturn="True" TextWrapping="Wrap" MinHeight="60"
|
||||||
Watermark="{Binding EffectiveSystemPromptHint}" />
|
PlaceholderText="{Binding EffectiveSystemPromptHint}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<StackPanel Spacing="2">
|
<StackPanel Spacing="2">
|
||||||
@@ -190,9 +194,6 @@
|
|||||||
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Expander>
|
</Expander>
|
||||||
|
|
||||||
</StackPanel>
|
|
||||||
</ScrollViewer>
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
|
|||||||
Reference in New Issue
Block a user