Skip to content

Commit 55504db

Browse files
MikeCodesDotNETMrJul
authored andcommitted
Added small banner about accelerate. (#18723)
1 parent 48daad9 commit 55504db

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

src/Avalonia.Diagnostics/Diagnostics/Views/MainView.xaml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<Setter Property="Margin" Value="10 0 -20 0"/>
2121
</Style>
2222
</UserControl.Styles>
23-
<Grid Name="rootGrid" RowDefinitions="Auto,Auto,*,Auto,Auto">
23+
<Grid Name="rootGrid" RowDefinitions="Auto,Auto,Auto,*,Auto,Auto">
2424
<Menu>
2525
<MenuItem Header="_File">
2626
<MenuItem Header="E_xit" Command="{Binding $parent[Window].Close}" />
@@ -251,24 +251,36 @@
251251
</MenuItem>
252252
</MenuItem>
253253
</Menu>
254+
254255

255-
<TabStrip Grid.Row="1" SelectedIndex="{Binding SelectedTab, Mode=TwoWay}">
256+
<HyperlinkButton Grid.Row="1"
257+
CornerRadius="0"
258+
NavigateUri="https://avaloniaui.net/accelerate"
259+
Content="Try the new Avalonia Dev Tools – now available in Accelerate."
260+
Background="#F3ECC0" Foreground="#746D44"
261+
Height="30"
262+
HorizontalAlignment="Stretch"
263+
HorizontalContentAlignment="Center" VerticalContentAlignment="Bottom"
264+
FontWeight="Bold" FontSize="14"/>
265+
266+
267+
<TabStrip Grid.Row="2" SelectedIndex="{Binding SelectedTab, Mode=TwoWay}">
256268
<TabStripItem Content="Logical Tree" />
257269
<TabStripItem Content="Visual Tree" />
258270
<TabStripItem Content="Events" />
259271
<TabStripItem Content="HotKeys" IsVisible="False" />
260272
</TabStrip>
261273

262-
<ContentControl Grid.Row="2"
274+
<ContentControl Grid.Row="3"
263275
BorderBrush="{DynamicResource ThemeControlMidBrush}"
264276
BorderThickness="0,1,0,0"
265277
Content="{Binding Content}" />
266278

267-
<GridSplitter Name="consoleSplitter" Grid.Row="3" Height="1"
279+
<GridSplitter Name="consoleSplitter" Grid.Row="4" Height="1"
268280
Background="{DynamicResource ThemeControlMidBrush}"
269281
IsVisible="False" />
270282

271-
<Border Grid.Row="4"
283+
<Border Grid.Row="5"
272284
BorderBrush="{DynamicResource ThemeControlMidBrush}"
273285
BorderThickness="0,1,0,0">
274286
<Grid ColumnDefinitions="*, Auto">

0 commit comments

Comments
 (0)