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:
authorHarley Acheson <harley.acheson@gmail.com>2020-10-19 20:55:05 +0300
committerHarley Acheson <harley.acheson@gmail.com>2020-10-19 20:55:05 +0300
commit1e3742749ebaf231a0c0c43a373cad6c740a0b91 (patch)
tree1718ea66167800de4e652c745e96895f3d48b476 /release/scripts/startup/bl_ui/space_view3d.py
parent3d26cd01b9ba6381eb165e11536345ae652dfb41 (diff)
UI: 3DView Popover Adjustments
Slight adjustments to widths, and adds gaps below titles, of 'Viewport Gizmos' and 'Object Types Visibility' popovers. Differential Revision: https://developer.blender.org/D9257 Reviewed by Pablo Vazquez
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d.py')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 41f555f380f..38f2c67f501 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -5549,7 +5549,7 @@ class VIEW3D_PT_object_type_visibility(Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'HEADER'
bl_label = "View Object Types"
- bl_ui_units_x = 6
+ bl_ui_units_x = 7
def draw(self, context):
layout = self.layout
@@ -5559,6 +5559,7 @@ class VIEW3D_PT_object_type_visibility(Panel):
view = context.space_data
layout.label(text="Object Types Visibility")
+ layout.separator()
col = layout.column()
attr_object_types = (
@@ -5933,6 +5934,7 @@ class VIEW3D_PT_gizmo_display(Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'HEADER'
bl_label = "Gizmo"
+ bl_ui_units_x = 8
def draw(self, context):
layout = self.layout
@@ -5942,6 +5944,7 @@ class VIEW3D_PT_gizmo_display(Panel):
col = layout.column()
col.label(text="Viewport Gizmos")
+ col.separator()
col.active = view.show_gizmo
colsub = col.column()