Skip to content

Commit

Permalink
1.9.1.1
Browse files Browse the repository at this point in the history
More from MAUI version
  • Loading branch information
taublast committed Nov 5, 2024
1 parent f45031a commit f67b37a
Show file tree
Hide file tree
Showing 10 changed files with 1,704 additions and 1,701 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ There is also a sample project in this repo with a drawn About page:

Contrary to MAUI version:

* Xamarin XAML HotReload is found to be working occasionally.
* Xamarin XAML HotReload is found to be working occasionally. I still struggle to understand why and where it breaks and why it's suddenly working.. Good news in MAUI we do not have this issue, there it breaks for foundable reasons, though should create a ticker for all cases i just personally know why it breaks but we have zero info about it in console, log etc.. :)

* For same reasons `ItemTemplate` is not set when defined in `<DataTemplate>` XAML so set it like this:

Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion nuget/DrawnUi.Xamarin.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<metadata>
<id>AppoMobi.Xamarin.DrawnUi</id>
<version>1.9.0</version>
<version>1.9.1.1</version>
<owners>Nick Kovalsky aka AppoMobi</owners>
<authors>Nick Kovalsky aka AppoMobi</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
using System.Windows.Input;


namespace DrawnUi.Maui.Draw;
namespace DrawnUi.Maui.Draw;

/// <summary>
/// Button-like control, can include any content inside. It's either you use default content (todo templates?..)
/// or can include any content inside, and properties will by applied by convention to a SkiaLabel with Tag `MainLabel`, SkiaShape with Tag `MainFrame`. At the same time you can override ApplyProperties() and apply them to your content yourself.
/// </summary>
public partial class SkiaButton : SkiaLayout, ISkiaGestureListener
{
public static readonly BindableProperty CornerRadiusProperty = BindableProperty.Create(
nameof(CornerRadius),
typeof(CornerRadius),
typeof(SkiaButton),
default(CornerRadius),
propertyChanged: NeedApplyProperties);
public static readonly BindableProperty CornerRadiusProperty = BindableProperty.Create(
nameof(CornerRadius),
typeof(CornerRadius),
typeof(SkiaButton),
new CornerRadius(8),
propertyChanged: NeedApplyProperties);

[System.ComponentModel.TypeConverter(typeof(CornerRadiusTypeConverter))]
public CornerRadius CornerRadius
{
get { return (CornerRadius)GetValue(CornerRadiusProperty); }
set { SetValue(CornerRadiusProperty, value); }
}
[System.ComponentModel.TypeConverter(typeof(CornerRadiusTypeConverter))]
public CornerRadius CornerRadius
{
get { return (CornerRadius)GetValue(CornerRadiusProperty); }
set { SetValue(CornerRadiusProperty, value); }
}


}
Loading

0 comments on commit f67b37a

Please sign in to comment.