CBA_A3 icon indicating copy to clipboard operation
CBA_A3 copied to clipboard

Item Context Menu - Longer Display Names get cut off

Open Drofseh opened this issue 4 years ago • 0 comments

Mods (complete and add to the following information):

  • Arma 3: 2.04
  • CBA: v3.15.5.210713

Description: When adding a context menu option to an inventory item, the display name gets cut off (at 23 characters on UI small).

Steps to reproduce:

  • Place a unit in the edit
  • Play as that unit
  • Run this code in the console
[
    "#All",
    "ALL",
    [
        "Display Name34567890123456789012345678901234567890",
        "ToolTip."
    ],
    nil,
    nil,
    {
        true
    },
    {
        systemChat "Context Statement";
        diag_log "Context Statement";
        true
    },
    false,
    []
] call CBA_fnc_addItemContextMenuOption;
  • See the Display Name get cut off.

Expected behavior: The full display name should be visible, or at least a more reasonable limit on the number of characters.

Where did the issue occur?

  • Editor (Singleplayer)

Screenshots:

Drofseh avatar Aug 04 '21 01:08 Drofseh