Searched refs:child_x (Results 1 – 2 of 2) sorted by relevance
447 int child_x = std::max((allocation->width - requisition.width) / 2, 0); in OnSetFloatingPosition() local448 g_value_set_int(&value, child_x); in OnSetFloatingPosition()
473 int child_x = std::max(half_view_width - (requisition.width / 2), 0); in SetFloatingPosition() local474 PositionChild(widget, child_x, 0, 0, 0); in SetFloatingPosition()