Skip to content

If line content is > fitWidth, with multiline, it does not wrap the content #157

@Jarrio

Description

@Jarrio
var edit = new EditText(Color.BLUE, Color.BLACK);
var text = new Text();
text.fitWidth = 300;
text.color = Color.WHITE;
text.content = "Here";
edit.multiline = true;
text.component('edit', edit);
add(text);

Hold M in the textbox and it won't wrap

Possible Solutions:

  1. Hyphenate?
  2. Just break onto the new line regardless of where it cuts
  3. Combo of the above, with an option to insert "wordbreak character"

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