More fixes

This commit is contained in:
2026-01-17 05:22:37 +00:00
parent f62d4aa5f2
commit 7d2ac327a3
58 changed files with 754 additions and 666 deletions

View File

@@ -177,7 +177,7 @@ public class SkiaSearchBar : SkiaView
? bounds.Right - clearButtonSize - iconPadding * 2
: bounds.Right - iconPadding;
var entryBounds = new SKRect(entryLeft, bounds.Top, entryRight, bounds.Bottom);
var entryBounds = new Rect(entryLeft, bounds.Top, entryRight - entryLeft, bounds.Height);
_entry.Arrange(entryBounds);
_entry.Draw(canvas);
@@ -306,9 +306,9 @@ public class SkiaSearchBar : SkiaView
#region Measurement
protected override SKSize MeasureOverride(SKSize availableSize)
protected override Size MeasureOverride(Size availableSize)
{
return new SKSize(250, 40);
return new Size(250, 40);
}
#endregion