Skip to content

Fix calculation of borders in UI material extraction #15115

@TimJentzsch

Description

@TimJentzsch

Definitely a bug. The extraction system is meant to retrieve the size of the node's parent in a separate query (or use the width of the viewport if it is a root node). Instead here it's basing percentage border values on the node's own width, which is incorrect.

Originally posted by @ickshonpe in #15104 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-UIGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions