Files
AetherBags/KamiToolKit/Nodes/Basic/CategoryTextNode.cs
T
KnackAtNite 8db4ce6094
Debug Build and Test / Build against Latest Dalamud (push) Has been cancelled
Debug Build and Test / Build against Staging Dalamud (push) Has been cancelled
Initial commit: AetherBags + KamiToolKit for FC Gitea
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-08 14:46:31 -05:00

24 lines
727 B
C#

using FFXIVClientStructs.FFXIV.Component.GUI;
using KamiToolKit.Classes;
namespace KamiToolKit.Nodes;
// Simple helper class for making basic text label, node will auto-resize to fit label
public sealed class CategoryTextNode : TextNode {
public CategoryTextNode() {
Height = 16.0f;
TextFlags = TextFlags.AutoAdjustNodeSize;
TextColor = ColorHelper.GetColor(2);
TextOutlineColor = ColorHelper.GetColor(7);
FontType = FontType.Axis;
FontSize = 14;
LineSpacing = 24;
AlignmentType = AlignmentType.Left;
}
public override float Height {
get => base.Height;
set => base.Height = value + 8.0f; // Add extra height for padding
}
}