[Bf-blender-cvs] [28a24db68aa] blender2.8: Fix feature set button misalignment.

Brecht Van Lommel noreply at git.blender.org
Sat Apr 21 13:05:20 CEST 2018


Commit: 28a24db68aa6c69af07aabc2a8fde0373bd7ab33
Author: Brecht Van Lommel
Date:   Sat Apr 21 13:03:16 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB28a24db68aa6c69af07aabc2a8fde0373bd7ab33

Fix feature set button misalignment.

===================================================================

M	intern/cycles/blender/addon/ui.py

===================================================================

diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 76564287e3f..8834aded786 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -1553,7 +1553,9 @@ def draw_device(self, context):
         from . import engine
         cscene = scene.cycles
 
-        layout.prop(cscene, "feature_set")
+        split = layout.split(percentage=1 / 3)
+        split.label("Feature Set:")
+        split.prop(cscene, "feature_set", text="")
 
         split = layout.split(percentage=1 / 3)
         split.label("Device:")



More information about the Bf-blender-cvs mailing list