Changeset View
Changeset View
Standalone View
Standalone View
system_property_chart.py
| Show First 20 Lines • Show All 173 Lines • ▼ Show 20 Lines | if strings: | ||||
| else: | else: | ||||
| col.label(text="<missing>") | col.label(text="<missing>") | ||||
| # Presets for properties | # Presets for properties | ||||
| col = layout.column() | col = layout.column() | ||||
| col.label(text="Properties") | col.label(text="Properties") | ||||
| row = col.row(align=True) | row = col.row(align=True) | ||||
| row.menu("SCENE_MT_properties_presets", text=bpy.types.SCENE_MT_properties_presets.bl_label) | row.menu("SCENE_MT_properties_presets", text=bpy.types.SCENE_MT_properties_presets.bl_label) | ||||
| row.operator("scene.properties_preset_add", text="", icon="ZOOMIN") | row.operator("scene.properties_preset_add", text="", icon='ADD') | ||||
| row.operator("scene.properties_preset_add", text="", icon="ZOOMOUT").remove_active = True | row.operator("scene.properties_preset_add", text="", icon='REMOVE').remove_active = True | ||||
| # edit the display props | # edit the display props | ||||
| col.prop(id_storage, self._PROP_STORAGE_ID, text="") | col.prop(id_storage, self._PROP_STORAGE_ID, text="") | ||||
| class View3DEditProps(Panel): | class View3DEditProps(Panel): | ||||
| bl_idname = "SYSPROP_CHART_PT_view3d" | bl_idname = "SYSPROP_CHART_PT_view3d" | ||||
| bl_space_type = 'VIEW_3D' | bl_space_type = 'VIEW_3D' | ||||
| bl_region_type = 'UI' | bl_region_type = 'UI' | ||||
| ▲ Show 20 Lines • Show All 109 Lines • Show Last 20 Lines | |||||