UI: right align info in image settings panel
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 20 May 2019 15:30:37 +0000 (17:30 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 20 May 2019 15:30:37 +0000 (17:30 +0200)
source/blender/editors/space_image/image_buttons.c

index 1dd5e6c427b865246b2717edb90c4d7a07c7dae3..8fada528f48f4d7f7a863e724e65afd6d1e2942e 100644 (file)
@@ -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);