-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
In a simple TextField, leading creates space between lines of text. RichTextField looks like it is ignoring that parameter completely. Example:
var simple = TextField(
"Lorem Ipsum", TextFormat("Arial", 18, Color.Black, leading: 18))
..width = 80
..wordWrap = true
..x = 10;
var rich = RichTextField(
"Lorem Ipsum", RichTextFormat("Arial", 18, Color.Black, leading: 18))
..width = 80
..wordWrap = true
..x = 110;
stage..addChild(simple)..addChild(rich);I think this is the issue that led to solving the same problem in regular TextField: bp74/StageXL#33.
Isn't it a simple fix in RichTextField too? I would try to do something, but I just started learning Dart and StageXL and it wouldn't be very effective.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
