Commit: 66eee8ca6e9bdfaeb819553d5191b8803a91508e
Author: Julian Eisel
Date:   Thu Apr 16 21:26:11 2020 +0200
Branches: modifier-panels-ui
https://developer.blender.org/rB66eee8ca6e9bdfaeb819553d5191b8803a91508e

Fix expanded enums using columns within split layout

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

M       source/blender/editors/interface/interface_layout.c

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

diff --git a/source/blender/editors/interface/interface_layout.c 
b/source/blender/editors/interface/interface_layout.c
index 32fb77b774d..6129f73dee6 100644
--- a/source/blender/editors/interface/interface_layout.c
+++ b/source/blender/editors/interface/interface_layout.c
@@ -2222,15 +2222,15 @@ void uiItemFullR(uiLayout *layout,
      * heading itself. */
     ui_layout_heading_label_add(heading_layout, heading_layout, false, false);
   }
-  else if (inside_prop_sep) {
-    /* When placing further items in a split row, add them to a column so they 
match the column
-     * layout of previous items (e.g. transform vector with lock icon for each 
item). */
-    layout = uiLayoutColumn(layout_parent, true);
-    layout->space = 0;
-  }
 
   /* array property */
   if (index == RNA_NO_INDEX && is_array) {
+    if (inside_prop_sep) {
+      /* Within a split row, add array items to a column so they match the 
column layout of
+       * previous items (e.g. transform vector with lock icon for each item). 
*/
+      layout = uiLayoutColumn(layout, true);
+    }
+
     ui_item_array(layout,
                   block,
                   name,

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to