add ui-entry-box style class (GTK)

Tue, 02 Dec 2025 19:26:16 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 02 Dec 2025 19:26:16 +0100
changeset 946
081651de86a3
parent 945
6055c7c677cf
child 947
a335a12936ce

add ui-entry-box style class (GTK)

ui/gtk/toolkit.c file | annotate | diff | comparison | revisions
--- a/ui/gtk/toolkit.c	Sun Nov 30 21:22:57 2025 +0100
+++ b/ui/gtk/toolkit.c	Tue Dec 02 19:26:16 2025 +0100
@@ -346,6 +346,11 @@
 
 #if GTK_MAJOR_VERSION == 4
 static const char *ui_gtk_css = 
+".ui-entry-box {\n"
+"  background-color: alpha(currentColor, 0.1);"
+"  border-radius: 6px;"
+"  padding: 7px;"
+"}\n"
 "#path-textfield-box {\n"
 "  background-color: alpha(currentColor, 0.1);"
 "  border-radius: 6px;"

mercurial