Skip to content

Commit

Permalink
Fix annoying issue with code selection
Browse files Browse the repository at this point in the history
  • Loading branch information
cezarypiatek committed Jul 31, 2024
1 parent 277e996 commit b2614e4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/WireMockInspector/Views/RequestPage.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
<views:RequestDetails DataContext="{Binding Path=RelatedMapping.ResponseParts }" />
</TabItem>
<TabItem Header="Code">
<ScrollViewer>
<StackPanel>
<ToggleButton IsChecked="{Binding #CodeGeneratorOptions.IsPaneOpen }">Show options</ToggleButton>

<DockPanel>
<ToggleButton DockPanel.Dock="Top" IsChecked="{Binding #CodeGeneratorOptions.IsPaneOpen }">Show options</ToggleButton>
<SplitView Margin="0,5,0,0" DataContext="{Binding CodeGenerator}" OpenPaneLength="180" Name="CodeGeneratorOptions" DisplayMode="Inline">
<SplitView.Pane>
<StackPanel Margin="10,5" DataContext="{Binding Config }">
Expand All @@ -68,8 +68,8 @@
</SplitView.Pane>
<views:CodeBlockViewer Code="{Binding OutputCode}" />
</SplitView>
</StackPanel>
</ScrollViewer>
</DockPanel>

</TabItem>
</TabControl>
</DockPanel>
Expand Down

0 comments on commit b2614e4

Please sign in to comment.