Skip to content

Commit

Permalink
Use 'my_custom_class" for the programmaticaly set style
Browse files Browse the repository at this point in the history
The "my_custom_class" style was unused, but was meant to style the last label
  • Loading branch information
UrtsiSantsi authored Oct 30, 2024
1 parent c4ee997 commit dbfa530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Styling with CSS/main.vala
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

public void main () {
var basic_label = (Gtk.Label) workbench.builder.get_object ("basic_label");
basic_label.add_css_class ("css_text");
basic_label.add_css_class ("my_custom_class");
}

0 comments on commit dbfa530

Please sign in to comment.