Skip to content

Commit 08a2315

Browse files
committed
Some updates
1 parent 7569bef commit 08a2315

2 files changed

Lines changed: 1085 additions & 382 deletions

File tree

SqlMonitorUI/LiveMonitoringWindow.xaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ ToolTip="Filter sessions by program name (case-insensitive)"/>
9494
<!-- CheckBox to show/hide sleeping SPIDs -->
9595
<CheckBox x:Name="SPIDFilter" Grid.Row="1" Margin="5,8,5,28" Height="26" VerticalAlignment="Center"
9696
Content="Showing Sleeping SPIDs" IsThreeState="False"
97-
Checked="ToggleSPIDFilter_Checked" Unchecked="ToggleSPIDFilter_Unchecked" FontWeight="Bold" Foreground="white"
97+
Checked="ToggleSPIDFilter_Checked" Unchecked="ToggleSPIDFilter_Unchecked" FontWeight="Bold" Foreground="white" IsChecked="False"
9898
/>
9999
</Grid>
100100
<Grid Grid.Column="8">
101101
<TextBlock Text="Max sessions:" Foreground="White" VerticalAlignment="Top" Margin="0,12,10,0"/>
102102

103103
</Grid>
104104
<Grid Grid.Column="9">
105-
<TextBox x:Name="LimitSessionsText" Text="50" TextAlignment="left"
105+
<TextBox x:Name="LimitSessionsText" Text="15" TextAlignment="left"
106106
TextChanged="LimitSessions"
107107
ToolTip="Only show a maximum of this amount of sessions" Background="White" VerticalAlignment="Top" Margin="5,8,5,0" Height="26" VerticalContentAlignment="Center"/>
108108
</Grid>
@@ -509,7 +509,7 @@ ToolTip="View the full query text in a copyable window"/>
509509
<Grid.ColumnDefinitions>
510510
<ColumnDefinition Width="200"/>
511511
<ColumnDefinition Width="50"/>
512-
<ColumnDefinition Width="50"/>
512+
<ColumnDefinition Width="150"/>
513513
<ColumnDefinition Width="*"/>
514514
</Grid.ColumnDefinitions>
515515
<Grid.RowDefinitions>
@@ -518,11 +518,11 @@ ToolTip="View the full query text in a copyable window"/>
518518
</Grid.RowDefinitions>
519519

520520

521-
<TextBlock Text="Top Usage Queries" FontSize="16" FontWeight="SemiBold" Grid.Row="0" Grid.Column="0"/>
521+
<TextBlock Text="Top Usage Queries" FontSize="16" FontWeight="SemiBold" Grid.Row="0" Grid.Column="0"/>
522522
<TextBlock x:Name="TopQueriesCountText" Width="50" Grid.Row="0" Grid.Column="1" Text=" (refreshes every 30 ticks)" FontSize="12" Foreground="#888" VerticalAlignment="Center" Margin="10,0,0,0"/>
523523
<Button x:Name="ViewTopQueryButton" Content="📋 View Query" Grid.Row="0" Grid.Column="2"
524524
Click="ViewQueryButton_Click"
525-
Width="50"
525+
Width="100"
526526
Padding="8,4" Margin="20,0,5,0"
527527
Background="#0078D4" Foreground="White" BorderThickness="0"
528528
FontSize="11" Cursor="Hand"

0 commit comments

Comments
 (0)