def draw(self, context):
    layout = self.layout
    layout.use_property_split = True
    cloth = context.cloth.collision_settings
    md = context.cloth
    layout.active = ((cloth.use_collision or cloth.use_self_collision) and cloth_panel_enabled(md))
    flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, even_rows=False, align=True)
    col = flow.column()
    col.prop(cloth, 'collision_quality', text='Quality')
def draw(self, context):
    layout = self.layout
    layout.use_property_split = True
    cloth = context.cloth.collision_settings
    md = context.cloth
    layout.active = ((cloth.use_collision or cloth.use_self_collision) and cloth_panel_enabled(md))
    flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, even_rows=False, align=True)
    col = flow.column()
    col.prop(cloth, 'collision_quality', text='Quality')