diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-08-24 00:39:43 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-08-24 00:41:15 +0200 |
| commit | 148a06c070e6376e6f86b878d08dfd4f0aef8a73 (patch) | |
| tree | 7330ecae5fa3dbb79c3bb3ce6a099205ec92d2c9 /src/layout/frame.rs | |
| parent | d546453880721d7a12ea228e5c1ed6c65b653ca2 (diff) | |
Switch from state to decorations for underline/strikethrough/overline
Diffstat (limited to 'src/layout/frame.rs')
| -rw-r--r-- | src/layout/frame.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/frame.rs b/src/layout/frame.rs index 15ef541b..2c8ba3d8 100644 --- a/src/layout/frame.rs +++ b/src/layout/frame.rs @@ -131,6 +131,8 @@ pub struct Text { pub face_id: FaceId, /// The font size. pub size: Length, + /// The width of the text run. + pub width: Length, /// Glyph color. pub fill: Paint, /// The glyphs. |
