Fix T46958: NLA Editor's 'Add Modifier' button is the wrong size on Retina Display

This commit is contained in:
Joshua Leung 2015-12-12 23:09:29 +13:00
parent dc98a3b0a7
commit c1cfdc59a3
Notes: blender-bot 2023-02-14 11:35:46 +01:00
Referenced by issue #46958, NLA Editor's 'Add Modifier' button is the wrong size on Retina Display
1 changed files with 1 additions and 1 deletions

View File

@ -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)*/