Skip to content

Commit 6df53cf

Browse files
committed
Fix horizontal scrolling
The scrollbar was showing mid-panel, it's now lower like other panels
1 parent 326cf7c commit 6df53cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ToolWindows/GHActionsToolWindow.xaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
<RowDefinition Height="*" />
4747
</Grid.RowDefinitions>
4848
<ProgressBar x:Name="refreshProgress" Height="5" Grid.Row="0" Visibility="Collapsed" />
49-
<StackPanel Grid.Row="1">
49+
<Grid Grid.Row="1">
5050
<TextBlock HorizontalAlignment="Center" x:Name="MessageArea" />
51-
<ScrollViewer VerticalAlignment="Stretch" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Margin="5,5,0,0" x:Name="ActionsInfoPanel" Visibility="Collapsed">
52-
<StackPanel Orientation="Vertical" VerticalAlignment="Stretch">
51+
<ScrollViewer VerticalAlignment="Stretch" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Margin="5,5,0,0" x:Name="ActionsInfoPanel">
52+
<StackPanel Orientation="Vertical">
5353
<Expander Header="Current Branch" x:Name="CurrentBranchExpander">
5454
<TreeView BorderThickness="0" PreviewMouseWheel="HandlePreviewMouseWheel" x:Name="tvCurrentBranch" ItemTemplate="{DynamicResource TreeViewRunNodeDataTemplate}" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch"/>
5555
</Expander>
@@ -62,6 +62,6 @@
6262
</Expander>
6363
</StackPanel>
6464
</ScrollViewer>
65-
</StackPanel>
65+
</Grid>
6666
</Grid>
6767
</UserControl>

0 commit comments

Comments
 (0)