|
7 | 7 | xmlns:controls="clr-namespace:Rubberduck.UI.Controls" |
8 | 8 | xmlns:converters="clr-namespace:Rubberduck.UI.Converters" |
9 | 9 | xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" |
| 10 | + xmlns:codeExplorer="clr-namespace:Rubberduck.Navigation.CodeExplorer" |
10 | 11 | ResxExtension.DefaultResxName="Rubberduck.Resources.RubberduckUI" |
11 | 12 | Language="{UICulture}" |
12 | 13 | Name="CodeMetrics" |
|
236 | 237 | <Grid UseLayoutRounding="True"> |
237 | 238 | <Grid.ColumnDefinitions> |
238 | 239 | <ColumnDefinition Width="*" /> |
239 | | - <ColumnDefinition Width="1.5*" /> |
| 240 | + <ColumnDefinition Width="Auto" /> |
| 241 | + <ColumnDefinition Width="*" /> |
240 | 242 | </Grid.ColumnDefinitions> |
241 | 243 | <Grid.RowDefinitions> |
242 | 244 | <RowDefinition Height="auto" /> |
243 | 245 | <RowDefinition Height="*" /> |
244 | 246 | </Grid.RowDefinitions> |
245 | 247 |
|
246 | 248 | <TreeView x:Name="ProjectTree" |
247 | | - Grid.Column="0" |
248 | | - Grid.RowSpan="2" |
249 | | - Background="White" |
| 249 | + Grid.RowSpan="2" Grid.Column="0" |
250 | 250 | ItemContainerStyle="{StaticResource ShinyTreeView}" |
251 | 251 | HorizontalContentAlignment="Stretch" |
252 | 252 | Style="{StaticResource CodeExplorerTreeViewStyle}" BorderThickness="0,1" |
|
257 | 257 | </i:Interaction.Behaviors> |
258 | 258 | </TreeView> |
259 | 259 |
|
260 | | - <ListView ItemsSource="{Binding Metrics}" Grid.Column="1" Grid.Row="1"> |
| 260 | + <GridSplitter Grid.Row="0" Grid.Column="1" Width="5" |
| 261 | + Grid.RowSpan="2" |
| 262 | + HorizontalAlignment="Stretch"/> |
| 263 | + |
| 264 | + <ListView ItemsSource="{Binding Metrics}" Grid.Column="2" Grid.Row="1"> |
261 | 265 | <ListView.ItemContainerStyle> |
262 | 266 | <Style TargetType="ListViewItem"> |
263 | 267 | <Setter Property="Focusable" Value="false"/> |
|
282 | 286 | </ListView.ItemTemplate> |
283 | 287 | </ListView> |
284 | 288 |
|
285 | | - <controls:EmptyUIRefresh Grid.ColumnSpan="2" Grid.RowSpan="2" Visibility="{Binding EmptyUIRefreshMessageVisibility, Mode=OneWay, Converter={StaticResource BoolToVisibility}}" /> |
286 | | - <controls:BusyIndicator Grid.ColumnSpan="2" Grid.RowSpan="2" Width="120" Height="120" Visibility="{Binding IsBusy, Mode=OneWay, Converter={StaticResource BoolToVisibility}}" /> |
| 289 | + <controls:EmptyUIRefresh Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Grid.RowSpan="2" Visibility="{Binding EmptyUIRefreshMessageVisibility, Mode=OneWay, Converter={StaticResource BoolToVisibility}}" /> |
| 290 | + <controls:BusyIndicator Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Grid.RowSpan="2" Width="120" Height="120" Visibility="{Binding IsBusy, Mode=OneWay, Converter={StaticResource BoolToVisibility}}" /> |
287 | 291 | </Grid> |
288 | 292 | </UserControl> |
289 | 293 |
|
0 commit comments