Documentation

UI::SetScrollHereY

Function

void UI::SetScrollHereY(float center_y_ratio = 0.5f)

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

float center_y_ratio