add heading label css for gtk3 newapi

Sun, 27 Oct 2024 09:38:21 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 27 Oct 2024 09:38:21 +0100
branch
newapi
changeset 355
4db3ecd4d1ea
parent 354
baf9bcc98d87
child 356
eae98e4f3f1f

add heading label css for gtk3

ui/gtk/toolkit.c file | annotate | diff | comparison | revisions
--- a/ui/gtk/toolkit.c	Sun Oct 27 09:01:46 2024 +0100
+++ b/ui/gtk/toolkit.c	Sun Oct 27 09:38:21 2024 +0100
@@ -358,11 +358,18 @@
 
 #elif GTK_MAJOR_VERSION == 3
 static const char *ui_gtk_css = 
-"#path-textfield-box {"
-"  background-color: @theme_base_color;"
-"  border-radius: 5px;"
-"  padding: 0px;"
-"}";
+"#path-textfield-box {\n"
+"  background-color: @theme_base_color;\n"
+"  border-radius: 5px;\n"
+"  padding: 0px;\n"
+"}"
+".ui_test {\n"
+"  background-color: red;\n"
+"}\n"
+".ui_label_heading {\n"
+"  font-weight: bold;\n"
+"}\n"
+;
 #endif
 
 void ui_css_init(void) {

mercurial