[Bf-blender-cvs] [af93bb0a240] master: UI: right align info in image settings panel

Brecht Van Lommel noreply at git.blender.org
Mon May 20 17:30:58 CEST 2019


Commit: af93bb0a2405ac9b69eb0bc76e2c8940278400d3
Author: Brecht Van Lommel
Date:   Mon May 20 17:30:37 2019 +0200
Branches: master
https://developer.blender.org/rBaf93bb0a2405ac9b69eb0bc76e2c8940278400d3

UI: right align info in image settings panel

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

M	source/blender/editors/space_image/image_buttons.c

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

diff --git a/source/blender/editors/space_image/image_buttons.c b/source/blender/editors/space_image/image_buttons.c
index 1dd5e6c427b..8fada528f48 100644
--- a/source/blender/editors/space_image/image_buttons.c
+++ b/source/blender/editors/space_image/image_buttons.c
@@ -1207,6 +1207,7 @@ void uiTemplateImageInfo(uiLayout *layout, bContext *C, Image *ima, ImageUser *i
   ImBuf *ibuf = BKE_image_acquire_ibuf(ima, iuser, &lock);
 
   uiLayout *col = uiLayoutColumn(layout, true);
+  uiLayoutSetAlignment(col, UI_LAYOUT_ALIGN_RIGHT);
 
   if (ibuf == NULL) {
     uiItemL(col, IFACE_("Can't Load Image"), ICON_NONE);



More information about the Bf-blender-cvs mailing list