🧹 Clean up, change tabs to spaces

pull/3/head
Alexis Drai 2 years ago
parent 973c11d9fc
commit 8087d518bb

@ -6,7 +6,7 @@
x:Class="AMC.View.Controls.BottomBar"> x:Class="AMC.View.Controls.BottomBar">
<StackLayout Orientation="Vertical" <StackLayout Orientation="Vertical"
BackgroundColor="{AppThemeBinding Light={StaticResource Gray100}, Dark={StaticResource Gray900}}"> BackgroundColor="{AppThemeBinding Light={StaticResource Gray100}, Dark={StaticResource Gray900}}">
<StackLayout Orientation="Horizontal" <StackLayout Orientation="Horizontal"
HeightRequest="{StaticResource SpaceXL}"> HeightRequest="{StaticResource SpaceXL}">

@ -3,7 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="AMC.View.Controls.IconLabelButtonWide"> x:Class="AMC.View.Controls.IconLabelButtonWide">
<Frame HeightRequest="{StaticResource SpaceLXL}" <Frame HeightRequest="{StaticResource SpaceLXL}"
WidthRequest="{StaticResource SpaceXXXL}" WidthRequest="{StaticResource SpaceXXXL}"
HorizontalOptions="Center" HorizontalOptions="Center"
BackgroundColor="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray750}}" BackgroundColor="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray750}}"
@ -11,22 +11,22 @@
Padding="{StaticResource SpaceXS}" Padding="{StaticResource SpaceXS}"
CornerRadius="{StaticResource SlightlyRoundedCorners}"> CornerRadius="{StaticResource SlightlyRoundedCorners}">
<StackLayout Orientation="Horizontal" <StackLayout Orientation="Horizontal"
HorizontalOptions="CenterAndExpand" HorizontalOptions="CenterAndExpand"
VerticalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand"
Spacing="{StaticResource SpaceXXS}"> Spacing="{StaticResource SpaceXXS}">
<ImageButton x:Name="Button" <ImageButton x:Name="Button"
HeightRequest="{StaticResource SpaceML}" HeightRequest="{StaticResource SpaceML}"
WidthRequest="{StaticResource SpaceML}" /> WidthRequest="{StaticResource SpaceML}" />
<Label x:Name="ButtonLabel" <Label x:Name="ButtonLabel"
FontSize="{StaticResource SubSubtitleFontSize}" FontSize="{StaticResource SubSubtitleFontSize}"
HorizontalOptions="Center" HorizontalOptions="Center"
VerticalOptions="Center" VerticalOptions="Center"
TextColor="{StaticResource Secondary}"/> TextColor="{StaticResource Secondary}"/>
</StackLayout> </StackLayout>
</Frame> </Frame>
</ContentView> </ContentView>

@ -2,7 +2,7 @@
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui" <ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="AMC.View.Controls.LibraryCategoryItem"> x:Class="AMC.View.Controls.LibraryCategoryItem">
<StackLayout Orientation="Horizontal" <StackLayout Orientation="Horizontal"
Padding="{StaticResource SpaceXS}" Padding="{StaticResource SpaceXS}"
BackgroundColor="{AppThemeBinding Light={StaticResource Background}, Dark={StaticResource BackgroundDark}}"> BackgroundColor="{AppThemeBinding Light={StaticResource Background}, Dark={StaticResource BackgroundDark}}">
@ -21,5 +21,5 @@
Margin="{StaticResource LeftSpaceLittle}" Margin="{StaticResource LeftSpaceLittle}"
HorizontalOptions="End" /> HorizontalOptions="End" />
</StackLayout> </StackLayout>
</ContentView> </ContentView>

@ -4,9 +4,9 @@
xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"> xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
<x:Double x:Key="SpaceXXS">4</x:Double> <x:Double x:Key="SpaceXXS">4</x:Double>
<x:Double x:Key="SpaceXS">8</x:Double> <x:Double x:Key="SpaceXS">8</x:Double>
<x:Double x:Key="SpaceS">12</x:Double> <x:Double x:Key="SpaceS">12</x:Double>
<x:Double x:Key="SpaceM">16</x:Double> <x:Double x:Key="SpaceM">16</x:Double>
<x:Double x:Key="SpaceML">24</x:Double> <x:Double x:Key="SpaceML">24</x:Double>
<x:Double x:Key="SpaceL">32</x:Double> <x:Double x:Key="SpaceL">32</x:Double>
@ -16,22 +16,22 @@
<x:Double x:Key="SpaceXXXL">144</x:Double> <x:Double x:Key="SpaceXXXL">144</x:Double>
<x:Double x:Key="AlbumPageCoverHeight">320</x:Double> <x:Double x:Key="AlbumPageCoverHeight">320</x:Double>
<Thickness x:Key="BottomBarSpace">0, 0, 0, 128</Thickness> <Thickness x:Key="BottomBarSpace">0, 0, 0, 128</Thickness>
<Thickness x:Key="TopSpaceSome">0, 24, 0, 0</Thickness> <Thickness x:Key="TopSpaceSome">0, 24, 0, 0</Thickness>
<Thickness x:Key="TopBottomSpaceLittle">0, 8, 0, 8</Thickness> <Thickness x:Key="TopBottomSpaceLittle">0, 8, 0, 8</Thickness>
<Thickness x:Key="RightSpaceLittle">0, 0, 8, 0</Thickness> <Thickness x:Key="RightSpaceLittle">0, 0, 8, 0</Thickness>
<Thickness x:Key="LeftSpaceLittle">8, 0, 0, 0</Thickness> <Thickness x:Key="LeftSpaceLittle">8, 0, 0, 0</Thickness>
<Thickness x:Key="BottomSpaceLittle">0, 0, 0, 8</Thickness> <Thickness x:Key="BottomSpaceLittle">0, 0, 0, 8</Thickness>
<Thickness x:Key="LeftRightSpaceLarge">32, 0, 32, 0</Thickness> <Thickness x:Key="LeftRightSpaceLarge">32, 0, 32, 0</Thickness>
<Thickness x:Key="WideButtonLeft">16, 16, 8, 16</Thickness> <Thickness x:Key="WideButtonLeft">16, 16, 8, 16</Thickness>
<Thickness x:Key="WideButtonRight">8, 16, 16, 16</Thickness> <Thickness x:Key="WideButtonRight">8, 16, 16, 16</Thickness>
<Thickness x:Key="HSpaceLittleVSpaceVeryLittle">8, 4, 8, 4</Thickness> <Thickness x:Key="HSpaceLittleVSpaceVeryLittle">8, 4, 8, 4</Thickness>
<CornerRadius x:Key="SlightlyRoundedCorners">8</CornerRadius> <CornerRadius x:Key="SlightlyRoundedCorners">8</CornerRadius>
<x:Double x:Key="TitleFontSize">32</x:Double> <x:Double x:Key="TitleFontSize">32</x:Double>
<x:Double x:Key="SubtitleFontSize">24</x:Double> <x:Double x:Key="SubtitleFontSize">24</x:Double>
<x:Double x:Key="SubSubtitleFontSize">16</x:Double> <x:Double x:Key="SubSubtitleFontSize">16</x:Double>
<x:Double x:Key="DetailsFontSize">12</x:Double> <x:Double x:Key="DetailsFontSize">12</x:Double>
<x:Double x:Key="TinyFontSize">8</x:Double> <x:Double x:Key="TinyFontSize">8</x:Double>

Loading…
Cancel
Save