From aecd8b144cea1202dff80290ce0b93c6db1f06b8 Mon Sep 17 00:00:00 2001 From: webbrain-one <295484252+webbrain-one@users.noreply.github.com> Date: Fri, 14 Aug 2026 09:29:05 +0300 Subject: [PATCH] Allow Headercell to auto resize to fit parent Remove fixed width and height constraints so the cell adapts to different screen resolutions and fills the parent container. --- .../CustomActivitySpinner/Headercell.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 CustomActivitySpinner/CustomActivitySpinner/Headercell.cs diff --git a/CustomActivitySpinner/CustomActivitySpinner/Headercell.cs b/CustomActivitySpinner/CustomActivitySpinner/Headercell.cs new file mode 100644 index 0000000..f2879dc --- /dev/null +++ b/CustomActivitySpinner/CustomActivitySpinner/Headercell.cs @@ -0,0 +1,13 @@ +using Foundation; +using UIKit; + +namespace CustomActivitySpinner +{ + public class Headercell : UIView + { + public Headercell() + { + this.AutoresizingMask = UIViewAutoresizing.FlexibleWidth | UIViewAutoresizing.FlexibleHeight; + } + } +}