Skip to content

Inline control alignment regression #543

@JesseDietrichson

Description

@JesseDietrichson

Hi there,

I’ve been using AvaloniaEdit as a message textbox to support basic formatting (e.g., bold, italic) as well as richer rendering features such as inline mention buttons (e.g., @Daerccoan).

In Avalonia versions 11.3.5 through 11.3.8, the alignment of inline controls appears to have changed. Specifically, I’m unable to get inline buttons to align/center properly with the surrounding text. This behavior used to work as expected in earlier versions.

I also verified that the issue reproduces in the AvaloniaEdit demo with these versions. Please see the attached screenshots for reference.

Image Image

Here's a screenshot from Avalonia version 11.3.4:

Image

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