Changed text alignment to better match old layout behaviour
authorGaia Clary <gaia.clary@machinimatrix.org>
Sun, 23 Jun 2013 18:21:26 +0000 (18:21 +0000)
committerGaia Clary <gaia.clary@machinimatrix.org>
Sun, 23 Jun 2013 18:21:26 +0000 (18:21 +0000)
source/blender/editors/space_view3d/view3d_buttons.c

index 03892c5f57d8479d180dbb00d286c1a5f08a4f37..603b8a377b320bd318a792efd97dd0620a3bb13e 100644 (file)
@@ -921,7 +921,7 @@ static void view3d_panel_vgroup(const bContext *C, Panel *pa)
                                                            xco, yco, (x = UI_UNIT_X * 5), UI_UNIT_Y, "");
                                        but_ptr = uiButGetOperatorPtrRNA(but);
                                        RNA_int_set(but_ptr, "weight_group", i);
-                                       uiButSetFlag(but, UI_TEXT_LEFT);
+                                       uiButSetFlag(but, UI_TEXT_RIGHT);
                                        if (ob->actdef != i + 1) {
                                                uiButSetFlag(but, UI_BUT_INACTIVE);
                                        }