void UI::SameLine(float offset_from_start_x = 0.0f, float spacing = -1.0f) Marks the next control to be drawn on the same line as the last one.
float offset_from_start_x
Use 0 for the next item to follow right after previous item. Other values align to the specified X position (relative to window/group left).
float spacing
For negative spacing, use default spacing if offset_from_start_x == 0, no spacing if offset_from_start_x != 0. For 0 and positive values, enforce spacing amount.