Skip to content

Commit

Permalink
Fix horizontal scrolling
Browse files Browse the repository at this point in the history
The scrollbar was showing mid-panel, it's now lower like other panels
  • Loading branch information
timheuer committed Jul 20, 2023
1 parent 326cf7c commit 6df53cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ToolWindows/GHActionsToolWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<ProgressBar x:Name="refreshProgress" Height="5" Grid.Row="0" Visibility="Collapsed" />
<StackPanel Grid.Row="1">
<Grid Grid.Row="1">
<TextBlock HorizontalAlignment="Center" x:Name="MessageArea" />
<ScrollViewer VerticalAlignment="Stretch" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Margin="5,5,0,0" x:Name="ActionsInfoPanel" Visibility="Collapsed">
<StackPanel Orientation="Vertical" VerticalAlignment="Stretch">
<ScrollViewer VerticalAlignment="Stretch" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Margin="5,5,0,0" x:Name="ActionsInfoPanel">
<StackPanel Orientation="Vertical">
<Expander Header="Current Branch" x:Name="CurrentBranchExpander">
<TreeView BorderThickness="0" PreviewMouseWheel="HandlePreviewMouseWheel" x:Name="tvCurrentBranch" ItemTemplate="{DynamicResource TreeViewRunNodeDataTemplate}" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch"/>
</Expander>
Expand All @@ -62,6 +62,6 @@
</Expander>
</StackPanel>
</ScrollViewer>
</StackPanel>
</Grid>
</Grid>
</UserControl>

0 comments on commit 6df53cf

Please sign in to comment.