[ui] use outerHeight when make spacing.