Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 35 additions & 8 deletions FluentEditor/ControlPalette/ControlPaletteTestContent.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@
x:Uid="TestContentButtonsBlock"
Margin="0,0,0,16"
Style="{StaticResource BaseTextBlockStyle}" />
<Button x:Uid="TestContentEnabledButton" Margin="0,0,0,12" CornerRadius="{ThemeResource ControlCornerRadius}"/>
<Button
x:Uid="TestContentEnabledButton"
Margin="0,0,0,12"
CornerRadius="{ThemeResource ControlCornerRadius}" />
<Button
x:Uid="TestContentDisabledButton"
Margin="0,0,0,12"
IsEnabled="False"
CornerRadius="{ThemeResource ControlCornerRadius}"/>
CornerRadius="{ThemeResource ControlCornerRadius}"
IsEnabled="False" />
<ToggleButton x:Uid="TestContentToggleButton" Margin="0,0,0,12" />
<ToggleButton
x:Uid="TestContentToggledButton"
Expand Down Expand Up @@ -168,13 +171,37 @@
x:Uid="TestContentCalendarViewBlock"
Margin="0,0,0,16"
Style="{StaticResource BaseTextBlockStyle}" />
<Grid HorizontalAlignment="Stretch" Height="120" Background="{ThemeResource SystemControlAcrylicWindowBrush}" Margin="0, 0, 0, 16" CornerRadius="{ThemeResource ControlCornerRadius}">
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="Base Acrylic" FontStyle="Italic" Margin="5"/>
<Grid
Height="120"
Margin="0,0,0,16"
HorizontalAlignment="Stretch"
Background="{ThemeResource SystemControlAcrylicWindowBrush}"
CornerRadius="{ThemeResource ControlCornerRadius}">
<TextBlock
x:Uid="BaseAcrylicTextBlock"
Margin="5"
HorizontalAlignment="Left"
VerticalAlignment="Top"
FontStyle="Italic" />
</Grid>
<Grid HorizontalAlignment="Stretch" Height="120" Background="{ThemeResource SystemControlAccentAcrylicWindowAccentMediumHighBrush}" Margin="0, 0, 0, 16" CornerRadius="{ThemeResource ControlCornerRadius}">
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="Primary Acrylic" FontStyle="Italic" Margin="5" RequestedTheme="Dark"/>
<Grid
Height="120"
Margin="0,0,0,16"
HorizontalAlignment="Stretch"
Background="{ThemeResource SystemControlAccentAcrylicWindowAccentMediumHighBrush}"
CornerRadius="{ThemeResource ControlCornerRadius}">
<TextBlock
x:Uid="PrimaryAcrylicTextBlock"
Margin="5"
HorizontalAlignment="Left"
VerticalAlignment="Top"
FontStyle="Italic"
RequestedTheme="Dark" />
</Grid>
<CalendarView Margin="0,0,0,28" HorizontalAlignment="Stretch" BorderThickness="{ThemeResource DatePickerBorderThemeThickness}"/>
<CalendarView
Margin="0,0,0,28"
HorizontalAlignment="Stretch"
BorderThickness="{ThemeResource DatePickerBorderThemeThickness}" />

</StackPanel>
</UserControl>
3 changes: 3 additions & 0 deletions FluentEditor/FluentEditor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,9 @@
<Content Include="Resources\zh-cn\demodata.json" />
<Content Include="Resources\pt-pt\controlPaletteData.json" />
<Content Include="Resources\pt-pt\demodata.json" />
<Content Include="Resources\cs-cz\controlPaletteData.json" />
<Content Include="Resources\cs-cz\demodata.json" />
<PRIResource Include="Resources\cs-cz\Resources.resw" />
<PRIResource Include="Resources\zh-cn\Resources.resw" />
<PRIResource Include="Resources\nl-nl\Resources.resw" />
<PRIResource Include="Resources\es-es\Resources.resw" />
Expand Down
Loading