Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_data_hair.py
| Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
| split = layout.split(factor=0.5) | split = layout.split(factor=0.5) | ||||
| row = split.row() | row = split.row() | ||||
| row.prop(attribute, "name", text="", emboss=False) | row.prop(attribute, "name", text="", emboss=False) | ||||
| sub = split.split() | sub = split.split() | ||||
| sub.alignment = 'RIGHT' | sub.alignment = 'RIGHT' | ||||
| sub.active = False | sub.active = False | ||||
| sub.label(text=domain.name) | sub.label(text=domain.name) | ||||
| sub.emboss = 'NONE' # This forces adding text padding. | |||||
| sub.label(text=data_type.name) | sub.label(text=data_type.name) | ||||
| class DATA_PT_hair_attributes(DataButtonsPanel, Panel): | class DATA_PT_hair_attributes(DataButtonsPanel, Panel): | ||||
| bl_label = "Attributes" | bl_label = "Attributes" | ||||
| COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'} | COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'} | ||||
| def draw(self, context): | def draw(self, context): | ||||
| Show All 39 Lines | |||||