[Bf-blender-cvs] [1e3742749eb] master: UI: 3DView Popover Adjustments
Harley Acheson
noreply at git.blender.org
Mon Oct 19 20:22:00 CEST 2020
Commit: 1e3742749ebaf231a0c0c43a373cad6c740a0b91
Author: Harley Acheson
Date: Mon Oct 19 10:55:05 2020 -0700
Branches: master
https://developer.blender.org/rB1e3742749ebaf231a0c0c43a373cad6c740a0b91
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
===================================================================
M release/scripts/startup/bl_ui/space_view3d.py
===================================================================
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()
More information about the Bf-blender-cvs
mailing list