diff --git a/Penumbra/UI/ConfigWindow.CollectionsTab.Inheritance.cs b/Penumbra/UI/ConfigWindow.CollectionsTab.Inheritance.cs index ca7becd5..bc9af12f 100644 --- a/Penumbra/UI/ConfigWindow.CollectionsTab.Inheritance.cs +++ b/Penumbra/UI/ConfigWindow.CollectionsTab.Inheritance.cs @@ -16,7 +16,7 @@ public partial class ConfigWindow { private partial class CollectionsTab { - private const int InheritedCollectionHeight = 10; + private const int InheritedCollectionHeight = 9; private const string InheritanceDragDropLabel = "##InheritanceMove"; // Keep for reuse. @@ -32,6 +32,7 @@ public partial class ConfigWindow private void DrawInheritanceBlock() { using var id = ImRaii.PushId( "##Inheritance" ); + ImGui.TextUnformatted( "The current collection inherits from:" ); DrawCurrentCollectionInheritance(); DrawInheritanceTrashButton(); DrawNewInheritanceSelection(); @@ -185,8 +186,8 @@ public partial class ConfigWindow var tt = inheritance switch { ModCollection.ValidInheritance.Empty => "No valid collection to inherit from selected.", - ModCollection.ValidInheritance.Valid => "Add a new inheritance to the collection.", - ModCollection.ValidInheritance.Self => "Can not inherit from itself.", + ModCollection.ValidInheritance.Valid => "Let the current collection inherit from the selected collection.", + ModCollection.ValidInheritance.Self => "The collection can not inherit from itself.", ModCollection.ValidInheritance.Contained => "Already inheriting from the selected collection.", ModCollection.ValidInheritance.Circle => "Inheriting from selected collection would lead to cyclic inheritance.", _ => string.Empty, diff --git a/Penumbra/UI/ConfigWindow.CollectionsTab.cs b/Penumbra/UI/ConfigWindow.CollectionsTab.cs index 563017f7..45771ae7 100644 --- a/Penumbra/UI/ConfigWindow.CollectionsTab.cs +++ b/Penumbra/UI/ConfigWindow.CollectionsTab.cs @@ -170,7 +170,7 @@ public partial class ConfigWindow private void DrawMainSelectors() { var size = new Vector2( -1, - ImGui.GetTextLineHeightWithSpacing() * InheritedCollectionHeight + ImGui.GetTextLineHeightWithSpacing() * (InheritedCollectionHeight + 1) + _window._defaultSpace.Y * 2 + ImGui.GetFrameHeightWithSpacing() * 4 + ImGui.GetStyle().ItemSpacing.Y * 6 );