def METHOD_NAME(self, context, layout):
    layout.prop(self, "font_family", expand=False)
    if self.font_family == 'user':
        layout.prop(self, "user_font")
    layout.prop(self, "font_alignment", expand=True)
    layout.prop(self, "weight", expand=True)