diff --git a/SukiUI/Controls/BusyArea.axaml b/SukiUI/Controls/BusyArea.axaml
index 98aec9792..b886a5cbf 100644
--- a/SukiUI/Controls/BusyArea.axaml
+++ b/SukiUI/Controls/BusyArea.axaml
@@ -4,6 +4,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:suki="clr-namespace:SukiUI.Controls"
+ xmlns:converters="https://github.com/kikipoulet/SukiUI"
d:DesignHeight="450"
d:DesignWidth="800"
mc:Ignorable="d">
@@ -23,9 +24,12 @@
IsVisible="{TemplateBinding BusyText,
Converter={x:Static StringConverters.IsNotNullOrEmpty}}"
Text="{TemplateBinding BusyText}" />
-
+
+
+
+
diff --git a/SukiUI/Converters/ProgressToContentCOnverter.cs b/SukiUI/Converters/ProgressToContentCOnverter.cs
new file mode 100644
index 000000000..c3d3fe4b9
--- /dev/null
+++ b/SukiUI/Converters/ProgressToContentCOnverter.cs
@@ -0,0 +1,30 @@
+using System;
+using System.Globalization;
+using Avalonia.Controls;
+using Avalonia.Data;
+using Avalonia.Data.Converters;
+using SukiUI.Controls;
+
+namespace SukiUI.Converters
+{
+ public class ProgressToContentCOnverter : IValueConverter
+ {
+ public static readonly ProgressToContentCOnverter Instance = new ProgressToContentCOnverter();
+
+
+ public object? Convert(object? value, Type targetType, object? parameter,
+ CultureInfo culture)
+ {
+ if ((bool)value)
+ return new Loading() { LoadingStyle = LoadingStyle.Simple };
+
+ return new Panel();
+ }
+
+ public object ConvertBack(object? value, Type targetType,
+ object? parameter, CultureInfo culture)
+ {
+ throw new NotSupportedException();
+ }
+ }
+}
\ No newline at end of file
diff --git a/SukiUI/Theme/Button.axaml b/SukiUI/Theme/Button.axaml
index 6ab22bb35..db06af582 100644
--- a/SukiUI/Theme/Button.axaml
+++ b/SukiUI/Theme/Button.axaml
@@ -1,7 +1,8 @@
+ xmlns:theme="clr-namespace:SukiUI.Theme"
+ xmlns:suki="https://github.com/kikipoulet/SukiUI">
@@ -30,14 +31,14 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SukiUI/Theme/Index.axaml b/SukiUI/Theme/Index.axaml
index 76fa721e3..64b0f4d25 100644
--- a/SukiUI/Theme/Index.axaml
+++ b/SukiUI/Theme/Index.axaml
@@ -29,6 +29,7 @@
+