ArticyXImporter
ArticyXImporter for Unreal Engine
Loading...
Searching...
No Matches
SFixedSizeMenuComboButton Class Reference

#include <SArticyIdProperty.h>

Inheritance diagram for SFixedSizeMenuComboButton:

Protected Member Functions

virtual void Tick (const FGeometry &AllottedGeometry, const double InCurrentTime, const float InDeltaTime) override

Detailed Description

This combo button is 1:1 the same as the normal SComboButton except that its Tick function does not try to Resize the menu. Instead, it only moves the Window. This fixes a problem where the menu would continuously be resized with 1 pixel difference which causes flickering in some edge cases (zoom level -1 and a menu that wasn't fixed size 300x300 like the default asset picker (300x350 would also flicker)

Member Function Documentation

◆ Tick()

void SFixedSizeMenuComboButton::Tick ( const FGeometry & AllottedGeometry,
const double InCurrentTime,
const float InDeltaTime )
overrideprotectedvirtual

Ticks the SFixedSizeMenuComboButton, updating its position if necessary.

Parameters
AllottedGeometryThe allotted geometry of the widget.
InCurrentTimeThe current time.
InDeltaTimeThe time delta since the last tick.

The tick is ending, so the window was not dismissed this tick.


The documentation for this class was generated from the following files:
  • Source/ArticyEditor/Public/Slate/SArticyIdProperty.h
  • Source/ArticyEditor/Private/Slate/SArticyIdProperty.cpp