diff options
author | Joshua Leung <aligorith@gmail.com> | 2015-12-12 13:09:29 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2015-12-12 13:10:07 +0300 |
commit | c1cfdc59a3f895b6b61dd55a48d18beff74adb7a (patch) | |
tree | ce43356ab76a8166c34b659efd609f502b933849 /source/blender | |
parent | dc98a3b0a74b0e91ad424195ce488a9b14f13e73 (diff) |
Fix T46958: NLA Editor's 'Add Modifier' button is the wrong size on Retina Display
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_nla/nla_buttons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_nla/nla_buttons.c b/source/blender/editors/space_nla/nla_buttons.c index 8eead9b8e44..5f046e3b6c6 100644 --- a/source/blender/editors/space_nla/nla_buttons.c +++ b/source/blender/editors/space_nla/nla_buttons.c @@ -480,7 +480,7 @@ static void nla_panel_modifiers(const bContext *C, Panel *pa) // XXX for now, this will be a operator button which calls a temporary 'add modifier' operator // FIXME: we need to set the only-active property so that this will only add modifiers for the active strip (not all selected) - uiDefButO(block, UI_BTYPE_BUT, "NLA_OT_fmodifier_add", WM_OP_INVOKE_REGION_WIN, IFACE_("Add Modifier"), 10, 0, 150, 20, + uiDefButO(block, UI_BTYPE_BUT, "NLA_OT_fmodifier_add", WM_OP_INVOKE_REGION_WIN, IFACE_("Add Modifier"), 10, 0, UI_UNIT_X * 7.0f, UI_UNIT_Y, TIP_("Adds a new F-Modifier for the active NLA Strip")); /* copy/paste (as sub-row)*/ |