diff --git a/src/Styling with CSS/code.rs b/src/Styling with CSS/code.rs index 0f1fea9c..a46dbb78 100644 --- a/src/Styling with CSS/code.rs +++ b/src/Styling with CSS/code.rs @@ -3,5 +3,5 @@ use gtk::prelude::*; pub fn main() { let basic_label: gtk::Label = workbench::builder().object("basic_label").unwrap(); - basic_label.add_css_class("css_text"); + basic_label.add_css_class("my_custom_class"); }