From 9b51528faf919b7f1fad3d1ab9946e2170ddda54 Mon Sep 17 00:00:00 2001 From: Ian Harrigan Date: Sun, 12 Jan 2025 20:52:04 +0100 Subject: [PATCH] force validation of just the component style --- haxe/ui/containers/TabView.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/haxe/ui/containers/TabView.hx b/haxe/ui/containers/TabView.hx index 62b79664d..275ee157f 100644 --- a/haxe/ui/containers/TabView.hx +++ b/haxe/ui/containers/TabView.hx @@ -75,7 +75,8 @@ private class Layout extends DefaultLayout { var tabsWidthModifier:Float = 0; if (tabs.style == null) { - //tabs.validateNow(); + tabs.invalidateComponentStyle(); + @:privateAccess tabs.validateComponentStyle(); } if (tabs.marginRight != null) { tabsWidthModifier = tabs.marginRight;