Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_data_volume.py
| Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
| col.label(text=error_msg) | col.label(text=error_msg) | ||||
| class VOLUME_UL_grids(UIList): | class VOLUME_UL_grids(UIList): | ||||
| def draw_item(self, context, layout, data, grid, icon, active_data, active_propname, index): | def draw_item(self, context, layout, data, grid, icon, active_data, active_propname, index): | ||||
| name = grid.name | name = grid.name | ||||
| data_type = grid.bl_rna.properties['data_type'].enum_items[grid.data_type] | data_type = grid.bl_rna.properties['data_type'].enum_items[grid.data_type] | ||||
| layout.emboss = 'NONE' | |||||
| layout.label(text=name) | layout.label(text=name) | ||||
| row = layout.row() | row = layout.row() | ||||
| row.alignment = 'RIGHT' | row.alignment = 'RIGHT' | ||||
| row.active = False | row.active = False | ||||
| row.label(text=data_type.name) | row.label(text=data_type.name) | ||||
| class DATA_PT_volume_grids(DataButtonsPanel, Panel): | class DATA_PT_volume_grids(DataButtonsPanel, Panel): | ||||
| ▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines | |||||