diff --git a/Origami/SpinnerUtil.cs b/Origami/SpinnerUtil.cs
index 404f106..6d0dd92 100644
--- a/Origami/SpinnerUtil.cs
+++ b/Origami/SpinnerUtil.cs
@@ -1,5 +1,6 @@
using System.Drawing;
+using Prowl.PaperUI.LayoutEngine;
using Prowl.Quill;
using Prowl.Vector;
@@ -30,15 +31,15 @@ public static class SpinnerUtil
///
public struct SpinnerConfig
{
- /// Size of the spinner in pixels.
- public double Size { get; set; }
-
+ /// Size of the spinner.
+ public AbsoluteUnit Size { get; set; }
+
/// Color of the spinner.
public Color Color { get; set; }
-
+
/// Width of the spinner stroke.
- public double StrokeWidth { get; set; }
-
+ public AbsoluteUnit StrokeWidth { get; set; }
+
/// Animation speed multiplier (1.0 = normal speed).
public double Speed { get; set; }
@@ -77,20 +78,20 @@ public struct SpinnerConfig
/// Paper UI instance
/// Spinner configuration
/// Action that can be used with AddActionElement
- public static Action