summaryrefslogtreecommitdiff
path: root/src/layout/frame.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/frame.rs')
-rw-r--r--src/layout/frame.rs2
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.