Navigation
Unreal Engine C++ API Reference > Runtime > TimeManagement > Widgets > STimecode
- SWidget::ComputeDesiredSize()
- SLeafWidget::ComputeDesiredSize()
- STimecode::ComputeDesiredSize()
References
Module | TimeManagement |
Header | /Engine/Source/Runtime/TimeManagement/Public/Widgets/STimecode.h |
Include | #include "Widgets/STimecode.h" |
Source | /Engine/Source/Runtime/TimeManagement/Private/Widgets/STimecode.cpp |
virtual FVector2D ComputeDesiredSize
&40;
float
&41; const
Remarks
Overwritten from SWidget.
LeafWidgets should compute their DesiredSize based solely on their visual representation. There is no need to take child widgets into account as LeafWidgets have none by definition. For example, the TextBlock widget simply measures the area necessary to display its text with the given font and font size.