Skip to content

Specialization images are not respected when rendering elements #1224

Description

@AlexeyRaga

Archi Version

5.8.0

Operating System

MacOS 26.3.1

Archi Plug-ins

No response

Description

Each Archi element has an icon that is displayed in views in the right top corner of a block.
The default icons are always respected at rendering in a way that Archi doesn't render text over the icons.

However, if an element uses a custom specification with an icon, Archi just draws text over it as if there was no image at all.

Here is an example of the same element with the only change in Specialization (same text, same size):

Image Image

This "small" issue forces users to spend so much time end effort finding the "right" size of a box to convey information conveniently. It looks even worse in generated PDFs.

Expected Behaviour

I think that it would be reasonable to expect that a Specialization icon is rendered in the same way as a default one, and is respected equally.

Steps to reproduce

  1. Create a custom specification
  2. Attach an image icon to it (16x16 icon padded to 24x24 works best. Archi doesn't do padding automatically, not sure if it is an issue or by design)
  3. Put an element on a view and set the Specification
  4. Resize the element. You'll see how text overlaps with the icon.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions