feat(render): parse presentational attributes and font sizes for beautiful layout
This commit is contained in:
1 parent
9c8d62e13b
commit
42874989eb
4 files changed
+90
-26
No files matched your search
@@ -68,8 +68,8 @@ pub struct LayoutStyle {
|
||||
pub background_color: Option<[u8; 4]>,
|
||||
/// Foreground (text) color for the paint step.
|
||||
pub color: Option<[u8; 4]>,
|
||||
/// Border color for the paint step.
|
||||
pub border_color: Option<[u8; 4]>,
|
||||
pub font_size: Option<f32>,
|
||||
}
|
||||
|
||||
/// A node in the input layout tree. `text` is carried for the paint phase; it
|
||||
|
||||
Reference in new issue
Block a user