Documentation

UI::SetScrollHereX

Function

void UI::SetScrollHereX(float center_x_ratio = 0.5f)

Adjust scrolling amount to make current cursor position visible. center_x_ratio=0.0: left, 0.5: center, 1.0: right. When using to make a "default / current item" visible, consider using SetItemDefaultFocus() instead.

float center_x_ratio