semi-working dib

This commit is contained in:
2025-07-02 23:59:11 +02:00
parent 8bd452117e
commit a973dbaed1
4 changed files with 42 additions and 34 deletions
+2 -3
View File
@@ -21,10 +21,9 @@ fn main() {
let mut d = Div::new();
d.draw("test".to_string());
d.draw("abc".to_string());
d.draw("abc".to_string()).component(Transform::center());
app.draw(d)
.component(Transform::center().dimensions(150, 80));
app.draw(d);
app.run().unwrap();
}