Cleanup: style
This commit is contained in:
@@ -170,7 +170,7 @@ def draw(layout, context, context_member, property_type, use_edit=True):
|
||||
else:
|
||||
row = box.row(align=True)
|
||||
|
||||
row.alignment = "RIGHT"
|
||||
row.alignment = 'RIGHT'
|
||||
|
||||
row.label(text=key, translate=False)
|
||||
|
||||
|
||||
@@ -2440,9 +2440,9 @@ class WM_OT_studiolight_install(Operator):
|
||||
)
|
||||
orientation: EnumProperty(
|
||||
items=(
|
||||
("MATCAP", "MatCap", ""),
|
||||
("WORLD", "World", ""),
|
||||
("CAMERA", "Camera", ""),
|
||||
('MATCAP', "MatCap", ""),
|
||||
('WORLD', "World", ""),
|
||||
('CAMERA', "Camera", ""),
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@@ -132,7 +132,7 @@ def point_cache_ui(self, context, cache, enabled, cachetype):
|
||||
cache_info = cache.info
|
||||
if cache_info:
|
||||
col = layout.column()
|
||||
col.alignment = "RIGHT"
|
||||
col.alignment = 'RIGHT'
|
||||
col.label(text=cache_info)
|
||||
else:
|
||||
if cachetype in {'SMOKE', 'DYNAMIC_PAINT'}:
|
||||
@@ -156,7 +156,7 @@ def point_cache_ui(self, context, cache, enabled, cachetype):
|
||||
cache_info = cache.info
|
||||
if cachetype != 'SMOKE' and cache_info: # avoid empty space.
|
||||
col = layout.column(align=True)
|
||||
col.alignment = "RIGHT"
|
||||
col.alignment = 'RIGHT'
|
||||
col.label(text=cache_info)
|
||||
|
||||
can_bake = True
|
||||
@@ -186,7 +186,7 @@ def point_cache_ui(self, context, cache, enabled, cachetype):
|
||||
can_bake = False
|
||||
|
||||
col = layout.column(align=True)
|
||||
col.alignment = "RIGHT"
|
||||
col.alignment = 'RIGHT'
|
||||
|
||||
col.separator()
|
||||
|
||||
|
||||
@@ -215,7 +215,7 @@ class SCENE_PT_keyframing_settings(SceneButtonsPanel, SceneKeyingSetsPanel, Pane
|
||||
flow = layout.grid_flow(row_major=True, columns=0, even_columns=False, even_rows=False, align=True)
|
||||
|
||||
col = flow.column(align=True)
|
||||
col.alignment = "RIGHT"
|
||||
col.alignment = 'RIGHT'
|
||||
col.label(text="General Override")
|
||||
|
||||
self.draw_keyframing_settings(context, col, ks, None)
|
||||
@@ -225,7 +225,7 @@ class SCENE_PT_keyframing_settings(SceneButtonsPanel, SceneKeyingSetsPanel, Pane
|
||||
col.separator()
|
||||
|
||||
col = flow.column(align=True)
|
||||
col.alignment = "RIGHT"
|
||||
col.alignment = 'RIGHT'
|
||||
col.label(text="Active Set Override")
|
||||
|
||||
self.draw_keyframing_settings(context, col, ks, ksp)
|
||||
@@ -272,7 +272,7 @@ class SCENE_PT_keying_set_paths(SceneButtonsPanel, SceneKeyingSetsPanel, Panel):
|
||||
ksp = ks.paths.active
|
||||
if ksp:
|
||||
col = flow.column(align=True)
|
||||
col.alignment = "RIGHT"
|
||||
col.alignment = 'RIGHT'
|
||||
|
||||
col.template_any_ID(ksp, "id", "id_type", text="Target ID-Block")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user