support layout weight order