Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <billreynish>2018-06-27 23:11:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-27 23:12:50 +0300
commit609805eed3eb9da2e81772279c4a501f644ac1f8 (patch)
treef6d670682455be0803c83a1303875839d5953170 /release/scripts/startup
parentcf7ff47e3edf779e12c90466e087aa318a03a44a (diff)
UI: shorten labels to avoid clipping
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/properties_render.py10
-rw-r--r--release/scripts/startup/bl_ui/properties_scene.py31
2 files changed, 32 insertions, 9 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py
index 5458b038d98..78e77ce5f31 100644
--- a/release/scripts/startup/bl_ui/properties_render.py
+++ b/release/scripts/startup/bl_ui/properties_render.py
@@ -205,8 +205,8 @@ class RENDER_PT_stamp(RenderButtonsPanel, Panel):
def draw(self, context):
layout = self.layout
- layout.use_property_split = True
- layout.use_property_decorate = False # No animation.
+ layout.use_property_split = True
+ layout.use_property_decorate = False # No animation.
rd = context.scene.render
@@ -672,8 +672,8 @@ class RENDER_PT_eevee_shadows(RenderButtonsPanel, Panel):
col = layout.column()
col.prop(props, "shadow_method")
- col.prop(props, "shadow_cube_size")
- col.prop(props, "shadow_cascade_size")
+ col.prop(props, "shadow_cube_size", text="Cube Size")
+ col.prop(props, "shadow_cascade_size", text="Cascade Size")
col.prop(props, "use_shadow_high_bitdepth")
@@ -719,7 +719,7 @@ class RENDER_PT_eevee_indirect_lighting(RenderButtonsPanel, Panel):
col = layout.column()
col.prop(props, "gi_diffuse_bounces")
col.prop(props, "gi_cubemap_resolution")
- col.prop(props, "gi_visibility_resolution")
+ col.prop(props, "gi_visibility_resolution", text="Diffuse Occlusion")
class RENDER_PT_eevee_film(RenderButtonsPanel, Panel):
diff --git a/release/scripts/startup/bl_ui/properties_scene.py b/release/scripts/startup/bl_ui/properties_scene.py
index 43706c360da..1394a9388d0 100644
--- a/release/scripts/startup/bl_ui/properties_scene.py
+++ b/release/scripts/startup/bl_ui/properties_scene.py
@@ -273,7 +273,7 @@ class SCENE_PT_color_management(SceneButtonsPanel, Panel):
col.separator()
- col.prop(scene.sequencer_colorspace_settings, "name", text="Sequencer Color Space")
+ col.prop(scene.sequencer_colorspace_settings, "name", text="Sequencer")
class SCENE_PT_color_management_curves(SceneButtonsPanel, Panel):
@@ -443,6 +443,15 @@ class SCENE_PT_simplify(SceneButtonsPanel, Panel):
def draw(self, context):
layout = self.layout
+
+
+class SCENE_PT_simplify_viewport(SceneButtonsPanel, Panel):
+ bl_label = "Viewport"
+ bl_parent_id = "SCENE_PT_simplify"
+ COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE'}
+
+ def draw(self, context):
+ layout = self.layout
layout.use_property_split = True
rd = context.scene.render
@@ -450,13 +459,25 @@ class SCENE_PT_simplify(SceneButtonsPanel, Panel):
layout.active = rd.use_simplify
col = layout.column()
- col.prop(rd, "simplify_subdivision", text="Max Viewport Subdivision")
+ col.prop(rd, "simplify_subdivision", text="Max Subdivision")
col.prop(rd, "simplify_child_particles", text="Max Child Particles")
- col.separator()
+
+class SCENE_PT_simplify_render(SceneButtonsPanel, Panel):
+ bl_label = "Render"
+ bl_parent_id = "SCENE_PT_simplify"
+ COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE'}
+
+ def draw(self, context):
+ layout = self.layout
+ layout.use_property_split = True
+
+ rd = context.scene.render
+
+ layout.active = rd.use_simplify
col = layout.column()
- col.prop(rd, "simplify_subdivision_render", text="Max Render Subdivision")
+ col.prop(rd, "simplify_subdivision_render", text="Max Subdivision")
col.prop(rd, "simplify_child_particles_render", text="Max Child Particles")
@@ -518,6 +539,8 @@ classes = (
SCENE_PT_rigid_body_cache,
SCENE_PT_rigid_body_field_weights,
SCENE_PT_simplify,
+ SCENE_PT_simplify_viewport,
+ SCENE_PT_simplify_render,
SCENE_PT_custom_props,
)