Skip to content

Commit e2d5101

Browse files
author
XLord-Heliukum
committed
命令栏改用 Files 的 Toolbar 结构:移植 WinUI 3 AppBarButton
- 新增 win:WinAppBarButton(Themes/AppBarButton.axaml + Controls/WinAppBarButton.cs): 照 AppBarButton_themeresources.xaml 移植 —— 行高 48、内部边框内缩 2,6 形成 40px 悬浮块、 图标 16、文字 12、LabelPosition 支持 Right / Collapsed / Bottom - 新增 Views/Controls/FilesToolbar.axaml:照 Files UserControls/Toolbar.xaml 的两列卡片 结构重写命令栏(左侧上下文命令、右侧视图命令,标注来源),取代手写的 commandCard - 删除被取代的 c:CommandBarButton 与 Border.commandCard 样式 - 文档:映射表与控件覆盖表补上 AppBarButton / FilesToolbar,主界面截图更新
1 parent 0e54c40 commit e2d5101

12 files changed

Lines changed: 370 additions & 120 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ with Avalonia controls.
2424
| --- | --- |
2525
| `src/Files.App/Views/MainPage.xaml` | `src/FileHub.Desktop/Views/MainWindow.axaml` root grid |
2626
| `src/Files.App/UserControls/NavigationToolbar.xaml` | address bar row (48px, 36x32 buttons) |
27-
| `src/Files.App/UserControls/Toolbar.xaml` | rounded command card (8px radius, label-right buttons) |
27+
| `src/Files.App/UserControls/Toolbar.xaml` | `Views/Controls/FilesToolbar.axaml` — 8px card, context commands left, view commands right |
2828
| `src/Files.App/UserControls/TabBar/TabBar.xaml` | `FATabView` tab strip (34px, footer actions) |
2929
| `src/Files.App/UserControls/StatusBar.xaml` | status bar row (32px, 1x18 dividers) |
3030
| `src/Files.App/UserControls/Pane/InfoPane.xaml` | details pane (300px, tab pills) |
@@ -70,12 +70,14 @@ state colour in that project was copied from
7070
| `ToggleSwitch_themeresources.xaml` | `Themes/ToggleSwitch.axaml` — 40x20 track, 12px knob |
7171
| `ToolTip_themeresources.xaml`, `FlyoutPresenter_themeresources.xaml` | `Themes/Surfaces.axaml` |
7272
| `TabView` / `TabViewItem` | `Themes/TabStrip.axaml` + `Controls/WinTabStrip.cs` — 32px tab, `8,8,0,0` corners |
73+
| `AppBarButton` / `CommandBar` | `Themes/AppBarButton.axaml` + `Controls/WinAppBarButton.cs` — 48px row, `2,6` inner inset, 12px label |
7374

7475
### Control coverage
7576

7677
| Control | Status |
7778
| --- | --- |
7879
| Button, ToggleButton, CheckBox, RadioButton, ToggleSwitch, TextBox, TextBlock | Ported |
80+
| AppBarButton (command bar buttons) | Ported |
7981
| ListBoxItem / ListViewItem | Ported |
8082
| ToolTip, FlyoutPresenter | Ported |
8183
| TabView (tab strip) | Ported, including the close button |

‎README.zh-CN.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
| --- | --- |
2222
| `src/Files.App/Views/MainPage.xaml` | `src/FileHub.Desktop/Views/MainWindow.axaml` 根 Grid |
2323
| `src/Files.App/UserControls/NavigationToolbar.xaml` | 地址栏一行(高 48,按钮 36x32) |
24-
| `src/Files.App/UserControls/Toolbar.xaml` | 圆角命令卡片(圆角 8,文字在右的按钮) |
24+
| `src/Files.App/UserControls/Toolbar.xaml` | `Views/Controls/FilesToolbar.axaml`(8px 卡片,左侧上下文命令、右侧视图命令) |
2525
| `src/Files.App/UserControls/TabBar/TabBar.xaml` | `FATabView` 标签栏(高 34,尾部操作区) |
2626
| `src/Files.App/UserControls/StatusBar.xaml` | 状态栏一行(高 32,1x18 分隔线) |
2727
| `src/Files.App/UserControls/Pane/InfoPane.xaml` | 详细信息窗格(宽 300,标签胶囊) |
@@ -60,6 +60,7 @@ WinUI 3 的样式是明文 XAML,所以颜色、圆角、内边距、各状态
6060
| ListBoxItem / ListViewItem | 已移植 |
6161
| ToolTip、FlyoutPresenter | 已移植 |
6262
| TabView 标签栏(含关闭按钮) | 已移植(`WinTabStrip`) |
63+
| AppBarButton(命令栏按钮) | 已移植(`WinAppBarButton`) |
6364
| ScrollBar | 沿用库自带实现 |
6465
| NavigationView、BreadcrumbBar、InfoBar、ProgressRing、MenuFlyout、ComboBox | 由 CodeHub-FluentUI 提供 |
6566

‎THIRD-PARTY-NOTICES.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ corner radii, spacing and command groupings were carried over:
2424
| --- | --- |
2525
| `src/Files.App/Views/MainPage.xaml` | `src/FileHub.Desktop/Views/MainWindow.axaml` (root grid: tab bar / address bar / sidebar + content / status bar) |
2626
| `src/Files.App/UserControls/NavigationToolbar.xaml` | `MainWindow.axaml` row 1 (48px toolbar, 36x32 icon buttons, omnibar) |
27-
| `src/Files.App/UserControls/Toolbar.xaml` | `MainWindow.axaml` command card (rounded 8px command bar, label-right buttons, Layout / Sort / Details / Hidden groupings) |
27+
| `src/Files.App/UserControls/Toolbar.xaml` | `Views/Controls/FilesToolbar.axaml` (8px card, two command bars: context commands left, view commands right, label-right AppBarButtons) |
2828
| `src/Files.App/UserControls/TabBar/TabBar.xaml` | `MainWindow.axaml` row 0 (WinUI 3 tab strip `WinTabStrip`, 32px tabs, footer actions) |
2929
| `src/Files.App/UserControls/StatusBar.xaml` | `MainWindow.axaml` row 3 (32px status bar, 1x18 dividers) |
3030
| `src/Files.App/UserControls/Pane/InfoPane.xaml` | `MainWindow.axaml` InfoPane (300px pane, tab pills, 90px label column) |
@@ -101,6 +101,7 @@ style definitions ship as plain-text XAML:
101101
| `ListViewItem_themeresources.xaml` | `Themes/ListBoxItem.axaml` (hover surface, 3x16 accent selection pill) |
102102
| `ToolTip_themeresources.xaml` | `Themes/Surfaces.axaml` (12px text, padding `9,6,9,8`) |
103103
| `FlyoutPresenter_themeresources.xaml` | `Themes/Surfaces.axaml` (8px corner radius, 1px flyout stroke) |
104+
| `AppBarButton_themeresources.xaml` | `Themes/AppBarButton.axaml` + `Controls/WinAppBarButton.cs` (48px row, 2,6 inner-border inset, 16px icon, 12px label, right/collapsed/bottom label positions) |
104105
| `TabView/TabView_themeresources.xaml`, `TabView/TabViewItem_themeresources.xaml` | `Themes/TabStrip.axaml` + `Controls/WinTabStrip.cs` (32px tab, 8,8,0,0 corners, 100/240 min/max width, close button overlay) |
105106
| `TextBox_themeresources.xaml` | `Themes/TextBox.axaml` (32px height, `10,5,6,6` padding, 2px accent underline on focus) |
106107
| `ToggleSwitch_themeresources.xaml` | `Themes/ToggleSwitch.axaml` (40x20 track, 12px knob, 167 ms travel) |

‎docs/filehub-main.png‎

-6.98 KB
Loading

‎src/FileHub.Desktop/Controls/FileHubControls.cs‎

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -50,69 +50,6 @@ protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs chang
5050
}
5151
}
5252

53-
/// <summary>
54-
/// Files App AppBarButton with DefaultLabelPosition="Right": a 16px symbol followed by
55-
/// a text label, inside the rounded command bar card.
56-
/// Equivalent to src/Files.App/UserControls/Toolbar.xaml.
57-
/// </summary>
58-
public sealed class CommandBarButton : Button
59-
{
60-
public static readonly StyledProperty<FASymbol> SymbolProperty =
61-
AvaloniaProperty.Register<CommandBarButton, FASymbol>(nameof(Symbol), FASymbol.Add);
62-
63-
public static readonly StyledProperty<string> LabelProperty =
64-
AvaloniaProperty.Register<CommandBarButton, string>(nameof(Label), string.Empty);
65-
66-
private readonly FASymbolIcon _icon;
67-
private readonly TextBlock _label;
68-
69-
public CommandBarButton()
70-
{
71-
MinWidth = 40;
72-
Height = 34;
73-
Padding = new Thickness(10, 0, 12, 0);
74-
CornerRadius = new CornerRadius(4);
75-
Background = Brushes.Transparent;
76-
BorderThickness = new Thickness(0);
77-
HorizontalContentAlignment = HorizontalAlignment.Stretch;
78-
VerticalContentAlignment = VerticalAlignment.Center;
79-
80-
_icon = new FASymbolIcon { Symbol = Symbol, FontSize = 16, VerticalAlignment = VerticalAlignment.Center };
81-
_label = new TextBlock
82-
{
83-
Text = Label,
84-
FontSize = 12,
85-
VerticalAlignment = VerticalAlignment.Center,
86-
TextTrimming = TextTrimming.CharacterEllipsis
87-
};
88-
Content = new StackPanel
89-
{
90-
Orientation = Orientation.Horizontal,
91-
Spacing = 8,
92-
Children = { _icon, _label }
93-
};
94-
}
95-
96-
public FASymbol Symbol
97-
{
98-
get => GetValue(SymbolProperty);
99-
set => SetValue(SymbolProperty, value);
100-
}
101-
102-
public string Label
103-
{
104-
get => GetValue(LabelProperty);
105-
set => SetValue(LabelProperty, value);
106-
}
107-
108-
protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)
109-
{
110-
base.OnPropertyChanged(change);
111-
if (change.Property == SymbolProperty) _icon.Symbol = Symbol;
112-
if (change.Property == LabelProperty) _label.Text = Label;
113-
}
114-
}
115-
11653
/// <summary>
11754
/// Files App SidebarItem: 32px row, 16px symbol, rounded corners and a 3x16
11855
/// selection pill. Equivalent to Files.App.Controls.SidebarItem in

‎src/FileHub.Desktop/Styles/FileHubTheme.axaml‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,6 @@
3434
<Setter Property="BorderBrush" Value="{DynamicResource DividerStrokeColorDefaultBrush}" />
3535
</Style>
3636

37-
<Style Selector="Border.commandCard">
38-
<Setter Property="CornerRadius" Value="{StaticResource OverlayCornerRadius}" />
39-
<Setter Property="Padding" Value="8,4,8,4" />
40-
<Setter Property="Margin" Value="8,4,8,4" />
41-
<Setter Property="Height" Value="44" />
42-
<Setter Property="Background" Value="{DynamicResource CardBackgroundFillColorDefaultBrush}" />
43-
<Setter Property="BorderThickness" Value="1" />
44-
<Setter Property="BorderBrush" Value="{DynamicResource CardStrokeColorDefaultBrush}" />
45-
</Style>
46-
4737
<Style Selector="Border.omnibar">
4838
<Setter Property="Height" Value="32" />
4939
<Setter Property="CornerRadius" Value="6" />
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
<!--
2+
Files Toolbar — ported from Files App src/Files.App/UserControls/Toolbar.xaml
3+
(Copyright (c) 2018 - present Files Community, MIT License; see THIRD-PARTY-NOTICES.md).
4+
5+
Files' Toolbar is a two-column card: a left-aligned CommandBar holding the context
6+
commands (Cut / Copy / Paste / Rename / Delete / ...), and a right-aligned CommandBar
7+
holding the view commands (Filter / Arrangement / Layout / Preview pane), all of them
8+
AppBarButtons with DefaultLabelPosition="Right".
9+
10+
WinUI -> Avalonia mapping:
11+
CommandBar -> StackPanel with the CommandBar's 4,0,0,0 padding and 48px row
12+
AppBarButton -> win:WinAppBarButton (ported from AppBarButton_themeresources.xaml)
13+
Border 8px card -> kept verbatim: CornerRadius=8, BorderThickness=1,
14+
CardStrokeColorDefaultBrush, BackgroundSizing=InnerBorderEdge
15+
16+
Files populates the left CommandBar from its CommandManager in code-behind; FileHub has a
17+
fixed command set, so the buttons are declared here instead.
18+
-->
19+
<UserControl xmlns="https://github.com/avaloniaui"
20+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
21+
xmlns:win="using:WinUI3.Fluent.Controls"
22+
xmlns:ui="using:FluentAvalonia.UI.Controls"
23+
xmlns:loc="using:FileHub.Desktop.Services"
24+
x:Class="FileHub.Desktop.Views.Controls.FilesToolbar">
25+
26+
<Border Background="{DynamicResource CardBackgroundFillColorDefaultBrush}"
27+
BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}"
28+
BorderThickness="1"
29+
CornerRadius="{StaticResource OverlayCornerRadius}">
30+
<Grid ColumnDefinitions="*,Auto">
31+
32+
<!-- Context commands (Files: ContextCommandBar) -->
33+
<StackPanel Grid.Column="0" Orientation="Horizontal" Margin="4,0,0,0">
34+
<win:WinAppBarButton Label="{x:Static loc:Strings.LblNew}"
35+
Command="{Binding NewFolderCommand}"
36+
ToolTip.Tip="{x:Static loc:Strings.NewFolder}">
37+
<win:WinAppBarButton.Icon>
38+
<ui:FASymbolIcon Symbol="Add" FontSize="16" />
39+
</win:WinAppBarButton.Icon>
40+
</win:WinAppBarButton>
41+
42+
<win:WinAppBarButton Label="{x:Static loc:Strings.LblCut}"
43+
Command="{Binding CutCommand}"
44+
ToolTip.Tip="{x:Static loc:Strings.Cut}">
45+
<win:WinAppBarButton.Icon>
46+
<ui:FASymbolIcon Symbol="Cut" FontSize="16" />
47+
</win:WinAppBarButton.Icon>
48+
</win:WinAppBarButton>
49+
50+
<win:WinAppBarButton Label="{x:Static loc:Strings.LblCopy}"
51+
Command="{Binding CopyCommand}"
52+
ToolTip.Tip="{x:Static loc:Strings.Copy}">
53+
<win:WinAppBarButton.Icon>
54+
<ui:FASymbolIcon Symbol="Copy" FontSize="16" />
55+
</win:WinAppBarButton.Icon>
56+
</win:WinAppBarButton>
57+
58+
<win:WinAppBarButton Label="{x:Static loc:Strings.LblPaste}"
59+
Command="{Binding PasteCommand}"
60+
ToolTip.Tip="{x:Static loc:Strings.Paste}">
61+
<win:WinAppBarButton.Icon>
62+
<ui:FASymbolIcon Symbol="Paste" FontSize="16" />
63+
</win:WinAppBarButton.Icon>
64+
</win:WinAppBarButton>
65+
66+
<win:WinAppBarButton Label="{x:Static loc:Strings.LblRename}"
67+
Command="{Binding RenameCommand}"
68+
ToolTip.Tip="{x:Static loc:Strings.Rename}">
69+
<win:WinAppBarButton.Icon>
70+
<ui:FASymbolIcon Symbol="Edit" FontSize="16" />
71+
</win:WinAppBarButton.Icon>
72+
</win:WinAppBarButton>
73+
74+
<win:WinAppBarButton Label="{x:Static loc:Strings.LblDelete}"
75+
Command="{Binding DeleteCommand}"
76+
ToolTip.Tip="{x:Static loc:Strings.Delete}">
77+
<win:WinAppBarButton.Icon>
78+
<ui:FASymbolIcon Symbol="Delete" FontSize="16" />
79+
</win:WinAppBarButton.Icon>
80+
</win:WinAppBarButton>
81+
</StackPanel>
82+
83+
<!-- Base commands (Files: BaseCommandBar, right aligned, labels collapsed) -->
84+
<StackPanel Grid.Column="1" Orientation="Horizontal" Margin="0,0,4,0">
85+
<win:WinAppBarButton LabelPosition="Collapsed"
86+
Label="{x:Static loc:Strings.LblHidden}"
87+
Command="{Binding ToggleHiddenCommand}"
88+
ToolTip.Tip="{x:Static loc:Strings.ToggleHidden}">
89+
<win:WinAppBarButton.Icon>
90+
<ui:FASymbolIcon Symbol="View" FontSize="16" />
91+
</win:WinAppBarButton.Icon>
92+
</win:WinAppBarButton>
93+
94+
<win:WinAppBarButton LabelPosition="Collapsed"
95+
Label="{x:Static loc:Strings.LblSort}"
96+
Command="{Binding SetSortCommand}" CommandParameter="Name"
97+
ToolTip.Tip="{x:Static loc:Strings.Sort}">
98+
<win:WinAppBarButton.Icon>
99+
<ui:FASymbolIcon Symbol="Sort" FontSize="16" />
100+
</win:WinAppBarButton.Icon>
101+
</win:WinAppBarButton>
102+
103+
<win:WinAppBarButton LabelPosition="Collapsed"
104+
Label="{x:Static loc:Strings.LblLayout}"
105+
Command="{Binding ToggleViewCommand}"
106+
ToolTip.Tip="{x:Static loc:Strings.ToggleView}">
107+
<win:WinAppBarButton.Icon>
108+
<ui:FASymbolIcon Symbol="ViewAll" FontSize="16" />
109+
</win:WinAppBarButton.Icon>
110+
</win:WinAppBarButton>
111+
112+
<win:WinAppBarButton LabelPosition="Collapsed"
113+
Label="{x:Static loc:Strings.LblDetails}"
114+
Command="{Binding ToggleDetailsPaneCommand}"
115+
ToolTip.Tip="{x:Static loc:Strings.ToggleDetailsPane}">
116+
<win:WinAppBarButton.Icon>
117+
<ui:FASymbolIcon Symbol="ContactInfo" FontSize="16" />
118+
</win:WinAppBarButton.Icon>
119+
</win:WinAppBarButton>
120+
</StackPanel>
121+
</Grid>
122+
</Border>
123+
</UserControl>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using Avalonia.Controls;
2+
using Avalonia.Markup.Xaml;
3+
4+
namespace FileHub.Desktop.Views.Controls;
5+
6+
/// <summary>
7+
/// The Files App inner toolbar (command bar). Behaviour lives in the view model, so the
8+
/// control itself only loads its XAML — the same split Files uses between
9+
/// <c>Toolbar.xaml</c> and <c>Toolbar.xaml.cs</c>.
10+
/// </summary>
11+
public partial class FilesToolbar : UserControl
12+
{
13+
public FilesToolbar() => InitializeComponent();
14+
15+
private void InitializeComponent() => AvaloniaXamlLoader.Load(this);
16+
}

‎src/FileHub.Desktop/Views/MainWindow.axaml‎

Lines changed: 6 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
xmlns:win="using:WinUI3.Fluent.Controls"
55
xmlns:loc="using:FileHub.Desktop.Services"
66
xmlns:c="using:FileHub.Desktop.Controls"
7+
xmlns:t="using:FileHub.Desktop.Views.Controls"
78
x:Class="FileHub.Desktop.Views.MainWindow"
89
Width="1360" Height="860"
910
MinWidth="900" MinHeight="540"
@@ -19,7 +20,8 @@
1920
InfoBar -> ui:FAInfoBar
2021
MenuFlyout -> ui:FAMenuFlyout (created in code-behind)
2122
SidebarView -> Border + c:SidebarItem (implemented in FileHubControls.cs)
22-
CommandBar -> Border.commandCard + c:CommandBarButton (implemented here)
23+
CommandBar -> t:FilesToolbar (a port of Files' UserControls/Toolbar.xaml) over
24+
win:WinAppBarButton (ported from WinUI 3's AppBarButton)
2325
InfoPane -> Border.paneSurface (implemented here)
2426
StatusBar -> Border.statusSurface (implemented here)
2527
Files-only services (Shell COM, WinUI navigation, x:Bind, ThemeResource) are replaced by
@@ -159,49 +161,9 @@
159161
<Grid x:Name="InnerContent" Grid.Column="2"
160162
RowDefinitions="Auto,Auto,*,Auto" Margin="0,0,0,8">
161163

162-
<!-- Row 0: Toolbar / CommandBar (Files: CornerRadius=8, DefaultLabelPosition=Right) -->
163-
<Border Grid.Row="0" Classes="commandCard">
164-
<Grid ColumnDefinitions="*,Auto">
165-
<StackPanel Grid.Column="0" Orientation="Horizontal" Spacing="2">
166-
<c:CommandBarButton Symbol="Add" Label="{x:Static loc:Strings.LblNew}"
167-
ToolTip.Tip="{x:Static loc:Strings.NewFolder}"
168-
Command="{Binding NewFolderCommand}" />
169-
<c:CommandBarButton Symbol="Cut" Label="{x:Static loc:Strings.LblCut}"
170-
ToolTip.Tip="{x:Static loc:Strings.Cut}"
171-
Command="{Binding CutCommand}" />
172-
<c:CommandBarButton Symbol="Copy" Label="{x:Static loc:Strings.LblCopy}"
173-
ToolTip.Tip="{x:Static loc:Strings.Copy}"
174-
Command="{Binding CopyCommand}" />
175-
<c:CommandBarButton Symbol="Paste" Label="{x:Static loc:Strings.LblPaste}"
176-
ToolTip.Tip="{x:Static loc:Strings.Paste}"
177-
Command="{Binding PasteCommand}" />
178-
<c:CommandBarButton Symbol="Edit" Label="{x:Static loc:Strings.LblRename}"
179-
ToolTip.Tip="{x:Static loc:Strings.Rename}"
180-
Command="{Binding RenameCommand}" />
181-
<c:CommandBarButton Symbol="Delete" Label="{x:Static loc:Strings.LblDelete}"
182-
ToolTip.Tip="{x:Static loc:Strings.Delete}"
183-
Command="{Binding DeleteCommand}" />
184-
<Border Classes="statusDivider" />
185-
<c:CommandBarButton Symbol="View" Label="{x:Static loc:Strings.LblHidden}"
186-
ToolTip.Tip="{x:Static loc:Strings.ToggleHidden}"
187-
Command="{Binding ToggleHiddenCommand}" />
188-
</StackPanel>
189-
190-
<StackPanel Grid.Column="1" Orientation="Horizontal" Spacing="2">
191-
<TextBlock Text="{Binding SortIndicator}" Classes="statusText"
192-
Opacity="0.7" Margin="0,0,8,0" />
193-
<c:CommandBarButton Symbol="Sort" Label="{x:Static loc:Strings.LblSort}"
194-
ToolTip.Tip="{x:Static loc:Strings.Sort}"
195-
Command="{Binding SetSortCommand}" CommandParameter="Name" />
196-
<c:CommandBarButton Symbol="ViewAll" Label="{x:Static loc:Strings.LblLayout}"
197-
ToolTip.Tip="{x:Static loc:Strings.ToggleView}"
198-
Command="{Binding ToggleViewCommand}" />
199-
<c:CommandBarButton Symbol="ContactInfo" Label="{x:Static loc:Strings.LblDetails}"
200-
ToolTip.Tip="{x:Static loc:Strings.ToggleDetailsPane}"
201-
Command="{Binding ToggleDetailsPaneCommand}" />
202-
</StackPanel>
203-
</Grid>
204-
</Border>
164+
<!-- Row 0: Toolbar / CommandBar — Files App's UserControls/Toolbar.xaml, ported as
165+
Views/Controls/FilesToolbar.axaml (two CommandBars in an 8px card). -->
166+
<t:FilesToolbar Grid.Row="0" Margin="8,4,8,4" />
205167

206168
<!-- Row 1: InfoBar (Files: Margin 0,0,0,4) -->
207169
<ui:FAInfoBar Grid.Row="1" Margin="12,0,12,4"

0 commit comments

Comments
 (0)