rizinorg/cutter

XRefs window for a flag with very long name width is much greater than the screen width.

Open

#3300 opened on Feb 24, 2024

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C++ (14,852 stars) (1,123 forks)batch import
UIgood first issue

Description

Environment information

  • Operating System: Windows
  • Cutter version: 2.3.3
  • Obtained from:
    • Built from source
    • Downloaded release from Cutter website or GitHub
    • Distribution repository
  • File format: PE

Describe the bug

Too long window containing the name of the flag goes beyond the edge of the screen, if the flag name is sufficiently long enough

image

To Reproduce

Steps to reproduce the behavior:

  1. Go to "Flags" widget
  2. Right click on any flag with very long name
  3. Select "XRefs"
  4. See error

Expected behavior

Cut the title/name to fit the screen properly.

Contributor guide