Skip to content

Bug(examples/controls_test_suite): text in dialog does not match cursor position #509

@Vincent-Dalstra

Description

@Vincent-Dalstra

I found this issue while running: examples/controls_test_suite

When using the 'save' dialog box, the cursor will start at the left of the input box, and move right; the text itself however, is appears in the center.

This happens because the example calls:

GuiSetStyle(DEFAULT, TEXT_ALIGNMENT, TEXT_ALIGN_CENTER);

https://github.com/raysan5/raygui/blob/master/examples/controls_test_suite/controls_test_suite.c#L289

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions