mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-15 09:41:15 +01:00
fe29a2ff6e
* Visual adjustments * Match border to rest of app * Fix overlapping controls * Fix * Fix
57 lines
2.9 KiB
XML
57 lines
2.9 KiB
XML
<Styles xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
<StyleInclude Source="avares://Ryujinx.Ava/Assets/Styles/Styles.xaml" />
|
|
<Design.PreviewWith>
|
|
<Border Height="2000" Padding="20">
|
|
<StackPanel Spacing="5">
|
|
<TextBlock Text="Code Font Family" />
|
|
<Grid RowDefinitions="*,Auto">
|
|
<Menu Grid.Row="1" Width="100">
|
|
<MenuItem Header="File">
|
|
<MenuItem Header="Test 1" />
|
|
<MenuItem Header="Test 2" />
|
|
<MenuItem Header="Test 3">
|
|
<MenuItem.Icon>
|
|
<CheckBox Margin="0" IsChecked="{Binding Checkbox, Mode=TwoWay}" />
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
</MenuItem>
|
|
</Menu>
|
|
<StackPanel Orientation="Horizontal">
|
|
<Button
|
|
Name="btnAdd"
|
|
HorizontalAlignment="Right"
|
|
Content="Add" />
|
|
<Button
|
|
Name="btnRem"
|
|
HorizontalAlignment="Right"
|
|
Content="Add" />
|
|
<TextBox
|
|
Width="100"
|
|
VerticalAlignment="Center"
|
|
Text="Rrrrr"
|
|
UseFloatingWatermark="True"
|
|
Watermark="Hello" />
|
|
<CheckBox>Test Check</CheckBox>
|
|
</StackPanel>
|
|
</Grid>
|
|
</StackPanel>
|
|
</Border>
|
|
</Design.PreviewWith>
|
|
<Styles.Resources>
|
|
<SolidColorBrush x:Key="DataGridSelectionBackgroundBrush" Color="{DynamicResource DataGridSelectionColor}" />
|
|
<SolidColorBrush x:Key="ThemeAccentColorBrush" Color="{DynamicResource SystemAccentColor}" />
|
|
<SolidColorBrush x:Key="ThemeAccentBrush4" Color="{DynamicResource ThemeAccentColor4}" />
|
|
<Color x:Key="SystemAccentColor">#FF00C3E3</Color>
|
|
<Color x:Key="ThemeAccentColor4">#FFe8e8e8</Color>
|
|
<Color x:Key="DataGridSelectionColor">#FF00FABB</Color>
|
|
<Color x:Key="ThemeContentBackgroundColor">#FFF0F0F0</Color>
|
|
<Color x:Key="ThemeControlBorderColor">#FFd6d6d6</Color>
|
|
<Color x:Key="TextOnAccentFillColorPrimary">#FFFFFFFF</Color>
|
|
<Color x:Key="SystemChromeWhiteColor">#FFFFFFFF</Color>
|
|
<Color x:Key="ThemeForegroundColor">#FF000000</Color>
|
|
<Color x:Key="MenuFlyoutPresenterBorderColor">#C1C1C1</Color>
|
|
<Color x:Key="AppListBackgroundColor">#b3ffffff</Color>
|
|
<Color x:Key="AppListHoverBackgroundColor">#80cccccc</Color>
|
|
<Color x:Key="SecondaryTextColor">#A0000000</Color>
|
|
</Styles.Resources>
|
|
</Styles> |