[Bf-blender-cvs] [9a66905b08d] blender2.8: UI: use property split for mesh options
Campbell Barton
noreply at git.blender.org
Thu Aug 30 00:58:49 CEST 2018
Commit: 9a66905b08d4e497f650fe3a93d0b145f3744b91
Author: Campbell Barton
Date: Thu Aug 30 09:05:48 2018 +1000
Branches: blender2.8
https://developer.blender.org/rB9a66905b08d4e497f650fe3a93d0b145f3744b91
UI: use property split for mesh options
===================================================================
M release/scripts/startup/bl_ui/space_view3d_toolbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 07da601f7ee..2c29061cca6 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -94,6 +94,9 @@ class VIEW3D_PT_tools_meshedit_options(View3DPanel, Panel):
def draw(self, context):
layout = self.layout
+ layout.use_property_split = True
+ layout.use_property_decorate = False
+
ob = context.active_object
tool_settings = context.tool_settings
@@ -106,13 +109,10 @@ class VIEW3D_PT_tools_meshedit_options(View3DPanel, Panel):
row.active = ob.data.use_mirror_x
row.prop(mesh, "use_mirror_topology")
- col = layout.column(align=True)
- col.label(text="Edge Select Mode:")
- col.prop(tool_settings, "edge_path_mode", text="")
- col.prop(tool_settings, "edge_path_live_unwrap")
- col.label(text="Double Threshold:")
- col.prop(tool_settings, "double_threshold", text="")
- col.prop(tool_settings, "use_mesh_automerge") # , icon='AUTOMERGE_ON'
+ layout.prop(tool_settings, "edge_path_mode")
+ layout.prop(tool_settings, "edge_path_live_unwrap")
+ layout.prop(tool_settings, "double_threshold")
+ layout.prop(tool_settings, "use_mesh_automerge") # , icon='AUTOMERGE_ON'
# ********** default tools for editmode_curve ****************
More information about the Bf-blender-cvs
mailing list