Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-04-03 09:02:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-03 09:02:33 +0400
commit6ee5b2d40cd1065dfd98920894c039a82ab17b6f (patch)
treedf29b439465a98a86c73a7cd06ab6c77b0baf3a5 /source/blender/editors
parenta5bd9cbb9353c59bc88db5a3f3b2fb754530cc6c (diff)
fix [#34850] "x" to clear ID prop fields is too close to the right border
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/interface/interface_widgets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c
index b5b10b623d2..e5f9e48c3b0 100644
--- a/source/blender/editors/interface/interface_widgets.c
+++ b/source/blender/editors/interface/interface_widgets.c
@@ -1349,8 +1349,8 @@ static void widget_draw_text_icon(uiFontStyle *fstyle, uiWidgetColors *wcol, uiB
/* unlink icon for this button type */
if (but->type == SEARCH_MENU_UNLINK && but->drawstr[0]) {
rcti temp = *rect;
-
- temp.xmin = temp.xmax - BLI_rcti_size_y(rect);
+
+ temp.xmin = temp.xmax - (BLI_rcti_size_y(rect) * 1.08f);
widget_draw_icon(but, ICON_X, alpha, &temp);
}