|
106 | 106 |
|
107 | 107 | <!-- PDB Paths (manual) --> |
108 | 108 | <GroupBox Grid.Row="3" Header="PDB Symbol Paths" Padding="6" Margin="0,0,0,8"> |
109 | | - <Grid> |
110 | | - <Grid.ColumnDefinitions> |
111 | | - <ColumnDefinition Width="*"/> |
112 | | - <ColumnDefinition Width="Auto"/> |
113 | | - <ColumnDefinition Width="Auto"/> |
114 | | - </Grid.ColumnDefinitions> |
115 | | - <TextBox Grid.Column="0" Text="{Binding PdbPaths, UpdateSourceTrigger=PropertyChanged}" |
116 | | - Margin="0,0,4,0" ToolTip="Semicolon-separated paths to PDB files"/> |
117 | | - <Button Grid.Column="1" Content="Browse..." Width="80" Click="BrowsePdbPath_Click"/> |
118 | | - <ToggleButton Grid.Column="2" IsChecked="{Binding PinPdbPaths}" Margin="4,0,0,0" |
119 | | - Padding="4,2" Background="Transparent" BorderThickness="0" |
| 109 | + <StackPanel> |
| 110 | + <TextBlock FontSize="11" Foreground="Gray" Margin="0,0,0,4" |
| 111 | + Text="Local folder(s), UNC path(s), or WinDbg-style symbol server(s). If using multiple paths; separate using semicolons."/> |
| 112 | + <DockPanel> |
| 113 | + <ToggleButton DockPanel.Dock="Right" IsChecked="{Binding PinPdbPaths}" |
| 114 | + Padding="4,2" Background="Transparent" BorderThickness="0" Margin="2,0,0,0" |
120 | 115 | ToolTip="Pin to remember this path for next session"> |
121 | 116 | <TextBlock Text="" FontFamily="Segoe MDL2 Assets" FontSize="14" |
122 | 117 | Opacity="{Binding PinPdbPaths, Converter={StaticResource BoolToOpacityConverter}}"/> |
123 | 118 | </ToggleButton> |
124 | | - </Grid> |
| 119 | + <Button DockPanel.Dock="Right" Content="..." Width="30" Click="BrowsePdbPath_Click" |
| 120 | + ToolTip="Browse for PDB folder"/> |
| 121 | + <TextBox Text="{Binding PdbPaths, UpdateSourceTrigger=PropertyChanged}" |
| 122 | + Margin="0,0,2,0" ToolTip="Semicolon-separated paths to PDB files"/> |
| 123 | + </DockPanel> |
| 124 | + </StackPanel> |
125 | 125 | </GroupBox> |
126 | 126 |
|
127 | 127 | <!-- Output options (collapsed by default) --> |
|
141 | 141 | <CheckBox Content="Show inline frames" Margin="0,0,0,6" |
142 | 142 | IsChecked="{Binding ShowInlineFrames}"/> |
143 | 143 | <GroupBox Header="Output Destination" Padding="6" Margin="0,4,0,0"> |
144 | | - <Grid> |
145 | | - <Grid.ColumnDefinitions> |
146 | | - <ColumnDefinition Width="Auto"/> |
147 | | - <ColumnDefinition Width="*"/> |
148 | | - <ColumnDefinition Width="Auto"/> |
149 | | - </Grid.ColumnDefinitions> |
150 | | - <TextBlock Grid.Column="0" Text="Save to file:" VerticalAlignment="Center" Margin="0,0,8,0"/> |
151 | | - <TextBox Grid.Column="1" Text="{Binding OutputFilePath, UpdateSourceTrigger=PropertyChanged}" |
152 | | - ToolTip="Leave empty to display output in the results area"/> |
153 | | - <Button Grid.Column="2" Content="Browse..." Width="80" Margin="4,0,0,0" Click="BrowseOutputPath_Click"/> |
154 | | - </Grid> |
| 144 | + <DockPanel> |
| 145 | + <Button DockPanel.Dock="Right" Content="..." Width="30" Click="BrowseOutputPath_Click" |
| 146 | + ToolTip="Browse for output file location"/> |
| 147 | + <TextBlock DockPanel.Dock="Left" Text="Save to file:" VerticalAlignment="Center" Margin="0,0,8,0"/> |
| 148 | + <TextBox Text="{Binding OutputFilePath, UpdateSourceTrigger=PropertyChanged}" |
| 149 | + Margin="0,0,2,0" ToolTip="Leave empty to display output in the results area"/> |
| 150 | + </DockPanel> |
155 | 151 | </GroupBox> |
156 | 152 | <TextBlock FontStyle="Italic" Foreground="Gray" TextWrapping="Wrap" Margin="0,6,0,0" |
157 | 153 | Text="Tip: For very large inputs, saving output to a file is recommended to avoid truncation."/> |
|
175 | 171 | </StackPanel> |
176 | 172 |
|
177 | 173 | <GroupBox Header="Binary Paths (only needed when frames have OrdinalNNN values)" Padding="6" Margin="0,0,0,8"> |
178 | | - <Grid> |
179 | | - <Grid.ColumnDefinitions> |
180 | | - <ColumnDefinition Width="*"/> |
181 | | - <ColumnDefinition Width="Auto"/> |
182 | | - </Grid.ColumnDefinitions> |
183 | | - <Grid.RowDefinitions> |
184 | | - <RowDefinition Height="Auto"/> |
185 | | - <RowDefinition Height="Auto"/> |
186 | | - </Grid.RowDefinitions> |
187 | | - <TextBox Grid.Row="0" Grid.Column="0" Text="{Binding BinaryPaths, UpdateSourceTrigger=PropertyChanged}" |
188 | | - Margin="0,0,4,4" ToolTip="Semicolon-separated paths to SQL Server binaries (DLL/EXE)"/> |
189 | | - <Button Grid.Row="0" Grid.Column="1" Content="Browse..." Width="80" Click="BrowseBinaryPath_Click"/> |
190 | | - <CheckBox Grid.Row="1" Grid.ColumnSpan="2" Content="Search for DLLs and EXEs recursively" |
| 174 | + <StackPanel> |
| 175 | + <DockPanel Margin="0,0,0,4"> |
| 176 | + <Button DockPanel.Dock="Right" Content="..." Width="30" Click="BrowseBinaryPath_Click" |
| 177 | + ToolTip="Browse for binary folder"/> |
| 178 | + <TextBox Text="{Binding BinaryPaths, UpdateSourceTrigger=PropertyChanged}" |
| 179 | + Margin="0,0,2,0" ToolTip="Semicolon-separated paths to SQL Server binaries (DLL/EXE)"/> |
| 180 | + </DockPanel> |
| 181 | + <CheckBox Content="Search for DLLs and EXEs recursively" |
191 | 182 | IsChecked="{Binding DllRecurse}"/> |
192 | | - </Grid> |
| 183 | + </StackPanel> |
193 | 184 | </GroupBox> |
194 | 185 |
|
195 | 186 | <TextBlock FontStyle="Italic" Foreground="Gray" TextWrapping="Wrap" |
|
0 commit comments