Commit: 1cc673ebcc7dd33b3fa763a9029f7c7c01421581
Author: Antonio Vazquez
Date:   Mon Aug 7 16:00:42 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rB1cc673ebcc7dd33b3fa763a9029f7c7c01421581

UI: Move buttons in panel

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

M       release/scripts/startup/bl_ui/properties_grease_pencil_common.py

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

diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py 
b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 3818087e11b..e61234e454f 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -1350,11 +1350,13 @@ class GreasePencilPaletteColorPanel:
                 sub.operator("palette.palettecolor_move", icon='TRIA_UP', 
text="").direction = 'UP'
                 sub.operator("palette.palettecolor_move", icon='TRIA_DOWN', 
text="").direction = 'DOWN'
 
-                row = layout.row()
-                sub = row.row(align=True)
-                sub.label(text="Isolate:") # based on active color only
+                col.separator()
+
+                sub = col.column(align=True)
                 sub.operator("palette.palettecolor_isolate", icon='LOCKED', 
text="").affect_visibility = False
                 sub.operator("palette.palettecolor_isolate", 
icon='RESTRICT_VIEW_OFF', text="").affect_visibility = True
+
+                row = layout.row()
                 sub = row.row(align=True)
                 sub.label(text="Lock:") # based on other stuff...
                 sub.operator("gpencil.stroke_lock_color", icon='BORDER_RECT', 
text="")
@@ -1483,7 +1485,7 @@ class GreasePencilPaletteFillPanel:
 
         row = layout.row()
         col = row.column(align=True)
-        
+
         if pcolor.fill_style != 'TEXTURE':
             col.prop(pcolor, "fill_color", text="")
             col.prop(pcolor, "fill_alpha", text="Opacity", slider=True)

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

Reply via email to