From e8b3d455db8367f6cc2156491be4f669133d6989 Mon Sep 17 00:00:00 2001 From: UrtsiSantsi <142679804+UrtsiSantsi@users.noreply.github.com> Date: Thu, 31 Oct 2024 00:58:16 +0200 Subject: [PATCH] Use 'my_custom_class" for the programmaticaly set style The "my_custom_class" style was unused, but was meant to style the last label --- src/Styling with CSS/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Styling with CSS/main.js b/src/Styling with CSS/main.js index c37bbcf4..1521af99 100644 --- a/src/Styling with CSS/main.js +++ b/src/Styling with CSS/main.js @@ -1,3 +1,3 @@ const basic_label = workbench.builder.get_object("basic_label"); -basic_label.add_css_class("css_text"); +basic_label.add_css_class("my_custom_class");