Skip to content

FXGLDefaultMenu::createTitleView - incorrect layout width calculation #1020

Open
@AlmasB

Description

@AlmasB
        // the lazy font size may not have been computed by this point
        // so we need to listen for changes in layout bounds of text1 and text2

val textWidth = text.layoutBounds.width + text2.layoutBounds.width

val textWidth = text.layoutBounds.width + text2.layoutBounds.width

Metadata

Metadata

Assignees

No one assigned

    Labels

    codefest23-24difficulty:easySimple, few changes requiredgood-first-issueFirst-time contributor-friendlyhelp wantedContributions welcome / high PR acceptance ratelang:kotlin-onlySolution should be in Kotlintype:bugDoesn't behave according to specification

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions