Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Item Context Menu - Longer Display Names get cut off #1490

Closed
Drofseh opened this issue Aug 4, 2021 · 0 comments · Fixed by #1492
Closed

Item Context Menu - Longer Display Names get cut off #1490

Drofseh opened this issue Aug 4, 2021 · 0 comments · Fixed by #1492
Labels
Milestone

Comments

@Drofseh
Copy link
Contributor

Drofseh commented Aug 4, 2021

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants