From fea36bb7b4951dc713cc1ab8ce5a85a6201bab9a Mon Sep 17 00:00:00 2001 From: uurha Date: Fri, 2 Aug 2024 02:38:33 +0200 Subject: [PATCH 1/2] Update DefaultElementBehaviour --- .../Drawers/BehavioredElements/DefaultElementBehaviour.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Assets/BetterCommons/Editor/Drawers/BehavioredElements/DefaultElementBehaviour.cs b/Assets/BetterCommons/Editor/Drawers/BehavioredElements/DefaultElementBehaviour.cs index 17a73d9..a49da70 100644 --- a/Assets/BetterCommons/Editor/Drawers/BehavioredElements/DefaultElementBehaviour.cs +++ b/Assets/BetterCommons/Editor/Drawers/BehavioredElements/DefaultElementBehaviour.cs @@ -41,6 +41,9 @@ public virtual void OnAttach(VisualElement root) var checkmark = labelParent.Q("unity-checkmark"); checkmark?.style.AlignSelf(new StyleEnum(Align.Center)); + + var parent = labelParent.parent as Toggle; + parent?.style.MarginBottom(0); } } } \ No newline at end of file From 51aef39586c60705926b975396bb5cf4a5bc1f2f Mon Sep 17 00:00:00 2001 From: uurha Date: Fri, 2 Aug 2024 02:38:41 +0200 Subject: [PATCH 2/2] Update package.json --- Assets/BetterCommons/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/BetterCommons/package.json b/Assets/BetterCommons/package.json index 63ab735..ad1e804 100644 --- a/Assets/BetterCommons/package.json +++ b/Assets/BetterCommons/package.json @@ -1,7 +1,7 @@ { "name": "com.tdw.better.commons", "displayName": "Better Commons", - "version": "0.0.31", + "version": "0.0.32", "unity": "2021.3", "description": " ", "dependencies": {