Closed emmanueltouzery closed 4 years ago
as far as I know currently to give a CSS style to a widget in relm, we must do:
fn init_view(&mut self) { self.event_time_label .get_style_context() .add_class("event_time"); } // ... #[name="event_time_label"] gtk::Label {
It would be great if we could just do:
gtk::Label { css_class: "event_time"
Or something of the sort.
Duplicate of #25.
as far as I know currently to give a CSS style to a widget in relm, we must do:
It would be great if we could just do:
Or something of the sort.