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
This commit is contained in:
2020-10-19 10:55:05 -07:00
parent 3d26cd01b9
commit 1e3742749e

View File

@@ -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()