Skip to content

Persistent UI Expansion with Long Element Names in Right Tabs #92

@Star-Clara

Description

@Star-Clara

Description

When working with elements in the right-side tabs panel, encountering elements with long names (e.g., lengthy entity IDs or asset paths) causes a critical UI issue:

The tab's width permanently expands to accommodate the long name, even if the element is no longer visible.

This forces the tab to occupy an excessive portion of the screen (see attached screenshot).

The only workaround is to restart Loenn, as manually resizing the panel or switching tabs fails to reset the width.

Steps to Reproduce

Open a map in Loenn.

Add an element with an unusually long name to the right-side tab (e.g., via custom entities or lengthy asset paths).

Image

Trigger the tab to display this element (e.g., select it in the editor).

Observe the tab’s width permanently increasing, crowding out the central workspace.

The tab's width permanently expands to accommodate the long name, even if the element is no longer visible.

Image

Expected Behavior

The right panel’s width should either:

Revert to its original/default size after the long-named element is no longer active, or

Respect manual user resizing without requiring a restart.

Proposed Solution
Add a user-configurable maximum width setting for the right-side tabs panel. This could include:

A slider in Preferences > UI to set a pixel-based limit.

A toggle to enforce auto-resetting the width when elements disappear.

Alternatively, implement dynamic width adjustment that truncates long names (with tooltips).

Windows 10 22H2 build19045.6036

Loenn Version: ** 1.0.3 **

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