bodil / vgtk

A declarative desktop UI framework for Rust built on GTK and Gtk-rs
http://bodil.lol/vgtk/
Other
1.05k stars 37 forks source link

how to use attributes for labels #50

Open tronta opened 4 years ago

tronta commented 4 years ago

Also thanks for work!

How can I set the attributes of a label. Eg I want to set the scale of the text of a label. Maybe you could add this to an example. Thanks a lot!

pepijndevos commented 3 years ago

Would <Label attributes=SomeAttrList /> work? That would map to https://gtk-rs.org/docs/gtk/trait.LabelExt.html#tymethod.set_attributes