4#include "PropertyHandle.h"
5#include "DetailWidgetRow.h"
6#include "Widgets/Input/SButton.h"
7#include "Widgets/Images/SImage.h"
8#include "Widgets/Input/SComboButton.h"
9#include "Widgets/Layout/SUniformGridPanel.h"
10#include "Internationalization/TextNamespaceUtil.h"
11#include "IPropertyUtilities.h"
15#define LOCTEXT_NAMESPACE "MultiLineEditableTextBox_CustomRowHelper"
21 const auto DefaultValues =
Self{};
32 Style = FCoreStyle::Get().GetWidgetStyle<FEditableTextBoxStyle>(
"NormalEditableTextBox");
33 Font = FEditorStyle::GetFontStyle(TEXT(
"PropertyWindow.NormalFont"));
46 TSharedPtr<SHorizontalBox> HorizontalBox;
54 .MinDesiredWidth(209.f)
55 .MaxDesiredWidth(600.f)
57 SAssignNew(HorizontalBox, SHorizontalBox)
58 +SHorizontalBox::Slot()
59 .Padding(0.f, 0.f, 4.f, 0.f)
80 .AddResetToDefaultWidget(
true)
104 return FText::GetEmpty();
107#undef LOCTEXT_NAMESPACE
FDetailWidgetRow * DetailWidgetRow
TSharedPtr< SWidget > NameContentWidget
TSharedPtr< IPropertyUtilities > PropertyUtils
TSharedPtr< IPropertyHandle > PropertyHandle
FDialogueTextChangedDelegate & OnTextChangedEvent()
FDialogueMultiLineEditableTextBoxOptions Options
void UpdateInternal() override
FDialogueTextCommitedDelegate & OnTextCommittedEvent()
TSharedPtr< IEditableTextProperty > EditableTextProperty
TSharedPtr< SDialogueTextPropertyEditableTextBox > TextBoxWidget
FText GetTextValue() const
static EModifierKey::Type GetModifierKeyFromDialogueSettings()
TAttribute< FSlateColor > ReadOnlyForegroundColor
bool bSelectAllTextWhenFocused
bool bSelectAllTextOnCommit
bool bClearKeyboardFocusOnCommit
FEditableTextBoxStyle Style
EModifierKey::Type ModiferKeyForNewLine
TAttribute< FSlateColor > ForegroundColor
TAttribute< FSlateFontInfo > Font