Commit: dd723f5f896d529e7cf65d1d546c242e5daa0f0a Author: Hans Goudey Date: Wed Apr 8 14:38:19 2020 -0500 Branches: modifier-panels-ui https://developer.blender.org/rBdd723f5f896d529e7cf65d1d546c242e5daa0f0a
Change manually split layouts to 40% =================================================================== M source/blender/modifiers/intern/MOD_cast.c M source/blender/modifiers/intern/MOD_explode.c M source/blender/modifiers/intern/MOD_laplaciansmooth.c M source/blender/modifiers/intern/MOD_mirror.c M source/blender/modifiers/intern/MOD_particleinstance.c M source/blender/modifiers/intern/MOD_screw.c M source/blender/modifiers/intern/MOD_shrinkwrap.c M source/blender/modifiers/intern/MOD_simpledeform.c M source/blender/modifiers/intern/MOD_skin.c M source/blender/modifiers/intern/MOD_smooth.c =================================================================== diff --git a/source/blender/modifiers/intern/MOD_cast.c b/source/blender/modifiers/intern/MOD_cast.c index 26da0e80995..95bd4077bc2 100644 --- a/source/blender/modifiers/intern/MOD_cast.c +++ b/source/blender/modifiers/intern/MOD_cast.c @@ -546,7 +546,7 @@ static void panel_draw(const bContext *C, Panel *panel) uiLayoutSetPropSep(layout, true); /* Aligned booleans with a single label. */ - split = uiLayoutSplit(layout, 0.5f, false); + split = uiLayoutSplit(layout, 0.4f, false); row = uiLayoutRow(split, false); uiLayoutSetAlignment(row, UI_LAYOUT_ALIGN_RIGHT); uiItemL(row, IFACE_("Axis"), ICON_NONE); diff --git a/source/blender/modifiers/intern/MOD_explode.c b/source/blender/modifiers/intern/MOD_explode.c index 09d48ecb3b2..ea6c7e4aa18 100644 --- a/source/blender/modifiers/intern/MOD_explode.c +++ b/source/blender/modifiers/intern/MOD_explode.c @@ -1203,7 +1203,7 @@ static void panel_draw(const bContext *C, Panel *panel) uiItemPointerR(layout, &ptr, "particle_uv", &obj_data_ptr, "uv_layers", NULL, ICON_NONE); /* Aligned axis booleans with a single label and no decorators. */ - split = uiLayoutSplit(layout, 0.5f, false); + split = uiLayoutSplit(layout, 0.4f, false); row = uiLayoutRow(split, false); uiLayoutSetAlignment(row, UI_LAYOUT_ALIGN_RIGHT); uiItemL(row, IFACE_("Show"), ICON_NONE); diff --git a/source/blender/modifiers/intern/MOD_laplaciansmooth.c b/source/blender/modifiers/intern/MOD_laplaciansmooth.c index 232a6195826..05bdd3d7f6e 100644 --- a/source/blender/modifiers/intern/MOD_laplaciansmooth.c +++ b/source/blender/modifiers/intern/MOD_laplaciansmooth.c @@ -595,7 +595,7 @@ static void panel_draw(const bContext *C, Panel *panel) uiItemR(layout, &ptr, "iterations", 0, NULL, ICON_NONE); /* Aligned axis booleans with a single label and no decorators. */ - split = uiLayoutSplit(layout, 0.5f, false); + split = uiLayoutSplit(layout, 0.4f, false); row = uiLayoutRow(split, false); uiLayoutSetAlignment(row, UI_LAYOUT_ALIGN_RIGHT); uiItemL(row, IFACE_("Axis"), ICON_NONE); diff --git a/source/blender/modifiers/intern/MOD_mirror.c b/source/blender/modifiers/intern/MOD_mirror.c index 32bd4a04a4d..572d23264ae 100644 --- a/source/blender/modifiers/intern/MOD_mirror.c +++ b/source/blender/modifiers/intern/MOD_mirror.c @@ -137,7 +137,7 @@ static void panel_draw(const bContext *C, Panel *panel) uiLayoutSetPropSep(layout, true); /* Aligned axis booleans with a single label and no decorators. */ - split = uiLayoutSplit(layout, 0.5f, false); + split = uiLayoutSplit(layout, 0.4, false); row = uiLayoutRow(split, false); uiLayoutSetAlignment(row, UI_LAYOUT_ALIGN_RIGHT); uiItemL(row, IFACE_("Axis"), ICON_NONE); @@ -150,7 +150,7 @@ static void panel_draw(const bContext *C, Panel *panel) uiItemL(row, "", ICON_BLANK1); /* Aligned axis booleans with a single label and no decorators. */ - split = uiLayoutSplit(layout, 0.5f, false); + split = uiLayoutSplit(layout, 0.4f, false); row = uiLayoutRow(split, false); uiLayoutSetAlignment(row, UI_LAYOUT_ALIGN_RIGHT); uiItemL(row, IFACE_("Bisect"), ICON_NONE); @@ -163,7 +163,7 @@ static void panel_draw(const bContext *C, Panel *panel) uiItemL(row, "", ICON_BLANK1); /* Aligned axis booleans with a single label and no decorators. */ - split = uiLayoutSplit(layout, 0.5f, false); + split = uiLayoutSplit(layout, 0.4, false); row = uiLayoutRow(split, false); uiLayoutSetAlignment(row, UI_LAYOUT_ALIGN_RIGHT); uiItemL(row, IFACE_("Flip"), ICON_NONE); @@ -217,7 +217,7 @@ static void uv_panel_draw(const bContext *C, Panel *panel) uiLayoutSetPropSep(layout, true); /* Flip U and V booleans aligned with one label. */ - split = uiLayoutSplit(layout, 0.5f, false); + split = uiLayoutSplit(layout, 0.4f, false); row = uiLayoutRow(split, false); uiLayoutSetAlignment(row, UI_LAYOUT_ALIGN_RIGHT); uiItemL(row, IFACE_("Flip"), ICON_NONE); diff --git a/source/blender/modifiers/intern/MOD_particleinstance.c b/source/blender/modifiers/intern/MOD_particleinstance.c index e8d896c503b..6a2615f8a84 100644 --- a/source/blender/modifiers/intern/MOD_particleinstance.c +++ b/source/blender/modifiers/intern/MOD_particleinstance.c @@ -589,7 +589,7 @@ static void panel_draw(const bContext *C, Panel *panel) uiItemS(layout); /* Aligned axis booleans with a single label and no decorators. */ - split = uiLayoutSplit(layout, 0.5f, false); + split = uiLayoutSplit(layout, 0.4f, false); row = uiLayoutRow(split, false); uiLayoutSetAlignment(row, UI_LAYOUT_ALIGN_RIGHT); uiItemL(row, IFACE_("Create Instances From"), ICON_NONE); @@ -601,7 +601,7 @@ static void panel_draw(const bContext *C, Panel *panel) uiItemL(row, "", ICON_BLANK1); /* Aligned axis booleans with a single label and no decorators. */ - split = uiLayoutSplit(layout, 0.5f, false); + split = uiLayoutSplit(layout, 0.4f, false); row = uiLayoutRow(split, false); uiLayoutSetAlignment(row, UI_LAYOUT_ALIGN_RIGHT); uiItemL(row, IFACE_("Show"), ICON_NONE); diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c index 37f004de08a..fe1a11d067f 100644 --- a/source/blender/modifiers/intern/MOD_screw.c +++ b/source/blender/modifiers/intern/MOD_screw.c @@ -1204,11 +1204,10 @@ static void panel_draw(const bContext *C, Panel *panel) uiItemR(col, &ptr, "steps", 0, IFACE_("Steps Viewport"), ICON_NONE); uiItemR(col, &ptr, "render_steps", 0, IFACE_("Render"), ICON_NONE); - split = uiLayoutSplit(layout, 0.5f, false); + split = uiLayoutSplit(layout, 0.4f, false); row = uiLayoutRow(split, false); uiLayoutSetAlignment(row, UI_LAYOUT_ALIGN_RIGHT); uiItemL(row, IFACE_("Stretch"), ICON_NONE); - row = uiLayoutRow(split, true); uiLayoutSetPropSep(row, false); uiItemR(row, &ptr, "use_stretch_u", UI_ITEM_R_TOGGLE, IFACE_("U"), ICON_NONE); diff --git a/source/blender/modifiers/intern/MOD_shrinkwrap.c b/source/blender/modifiers/intern/MOD_shrinkwrap.c index 1db290ea002..dc4eaa9ae07 100644 --- a/source/blender/modifiers/intern/MOD_shrinkwrap.c +++ b/source/blender/modifiers/intern/MOD_shrinkwrap.c @@ -238,7 +238,7 @@ static void panel_draw(const bContext *C, Panel *panel) uiItemR(layout, &ptr, "subsurf_levels", 0, NULL, ICON_NONE); /* Aligned projection booleans with a single label. */ - split = uiLayoutSplit(layout, 0.5f, false); + split = uiLayoutSplit(layout, 0.4f, false); row = uiLayoutRow(split, false); uiLayoutSetAlignment(row, UI_LAYOUT_ALIGN_RIGHT); uiItemL(row, IFACE_("Axis"), ICON_NONE); diff --git a/source/blender/modifiers/intern/MOD_simpledeform.c b/source/blender/modifiers/intern/MOD_simpledeform.c index 521b688c4a7..57ee146148d 100644 --- a/source/blender/modifiers/intern/MOD_simpledeform.c +++ b/source/blender/modifiers/intern/MOD_simpledeform.c @@ -514,7 +514,7 @@ static void axis_origin_panel_draw(const bContext *C, Panel *panel) MOD_SIMPLEDEFORM_MODE_TAPER, MOD_SIMPLEDEFORM_MODE_STRETCH, MOD_SIMPLEDEFORM_MODE_TWIST)) { - split = uiLayoutSplit(layout, 0.5f, false); + split = uiLayoutSplit(layout, 0.4f, false); row = uiLayoutRow(split, true); uiLayoutSetAlignment(row, UI_LAYOUT_ALIGN_RIGHT); uiItemL(row, IFACE_("Lock"), ICON_NONE); diff --git a/source/blender/modifiers/intern/MOD_skin.c b/source/blender/modifiers/intern/MOD_skin.c index ad7da4e65b7..b30b8ca4326 100644 --- a/source/blender/modifiers/intern/MOD_skin.c +++ b/source/blender/modifiers/intern/MOD_skin.c @@ -1957,7 +1957,7 @@ static void panel_draw(const bContext *C, Panel *panel) uiItemR(layout, &ptr, "branch_smoothing", 0, NULL, ICON_NONE); - split = uiLayoutSplit(layout, 0.5f, false); + split = uiLayoutSplit(layout, 0.4f, false); row = uiLayoutRow(split, false); uiLayoutSetAlignment(row, UI_LAYOUT_ALIGN_RIGHT); uiItemL(row, IFACE_("Symmetry"), ICON_NONE); diff --git a/source/blender/modifiers/intern/MOD_smooth.c b/source/blender/modifiers/intern/MOD_smooth.c index 7244cc7fc6f..c1a8de50562 100644 --- a/source/blender/modifiers/intern/MOD_smooth.c +++ b/source/blender/modifiers/intern/MOD_smooth.c @@ -249,7 +249,7 @@ static void panel_draw(const bContext *C, Panel *panel) uiLayoutSetPropSep(layout, true); /* Aligned axis booleans with a single label and no decorators. */ - split = uiLayoutSplit(layout, 0.5f, false); + split = uiLayoutSplit(layout, 0.4f, false); row = uiLayoutRow(split, false); uiLayoutSetAlignment(row, UI_LAYOUT_ALIGN_RIGHT); uiItemL(row, IFACE_("Axis"), ICON_NONE); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs