Limen Framework 0.1 Help

ULimenTextLabel

Overview

ULimenTextLabel is a custom widget that extends UWidget. It provides functionality to set and display a title and value with various customizable properties such as font, color, padding, and alignment. The widget uses Slate UI framework components (STextBlock) to render the title and value in a horizontal layout.

Properties

Type

Name

Access

Description

FText

LabelTitle

EditAnywhere

The text displayed as the label title.

FSlateFontInfo

LabelTitleFont

EditAnywhere

The font information for the label title.

FMargin

LabelTitlePadding

EditAnywhere

The padding around the label title.

FSlateColor

LabelTitleTextColor

EditAnywhere

The color and opacity of the label title text.

EVerticalAlignment

LabelTitleVerticalAlignment

EditAnywhere

The vertical alignment of the label title.

EHorizontalAlignment

LabelTitleHorizontalAlignment

EditAnywhere

The horizontal alignment of the label title.

FText

LabelValue

EditAnywhere

The text displayed as the label value.

FSlateFontInfo

LabelValueFont

EditAnywhere

The font information for the label value.

FMargin

LabelValuePadding

EditAnywhere

The padding around the label value.

FSlateColor

LabelValueTextColor

EditAnywhere

The color and opacity of the label value text.

EVerticalAlignment

LabelValueVerticalAlignment

EditAnywhere

The vertical alignment of the label value.

EHorizontalAlignment

LabelValueHorizontalAlignment

EditAnywhere

The horizontal alignment of the label value.

Functions

Return Type

Signature

Description

void

SetLabelTitle(const FText& InTitle)

Sets the text displayed as the label title.

void

SetLabelTitleFont(const FSlateFontInfo& InTitleFont)

Sets the font information for the label title.

void

SetLabelTitlePadding(const FMargin& InPadding)

Sets the padding around the label title.

void

SetLabelTitleTextColor(const FSlateColor& InColor)

Sets the color and opacity of the label title text.

void

SetLabelValue(const FText& InValue)

Sets the text displayed as the label value.

void

SetLabelValueFont(const FSlateFontInfo& InValueFont)

Sets the font information for the label value.

void

SetLabelValuePadding(const FMargin& InPadding)

Sets the padding around the label value.

void

SetLabelValueTextColor(const FSlateColor& InColor)

Sets the color and opacity of the label value text.

void

ReleaseSlateResources(bool bReleaseChildren)

Releases Slate resources, optionally releasing children as well.

TSharedRef<SWidget>

RebuildWidget()

Rebuilds the widget's Slate representation based on current properties.

Usage & Implementation Notes

  • The widget uses STextBlock to render text and SHorizontalBox for layout.

  • Properties are exposed in the Unreal Editor for easy customization.

  • The RebuildWidget function dynamically creates and configures Slate widgets based on the current property values.

  • The ReleaseSlateResources function properly cleans up Slate resources when the widget is destroyed or reconfigured.

22 May 2026