gtkentry: Add hinting to GtkEntry
gtk_entry_set_placeholder_text() makes the entry display the given text when it is empty and unfocused. Based on previous patch by Alberto Garcia. https://bugzilla.gnome.org/show_bug.cgi?id=440963
This commit is contained in:
committed by
Carlos Garcia Campos
parent
c8350821e9
commit
ef061c4e96
@ -3772,6 +3772,7 @@ gtk_css_provider_get_default (void)
|
||||
"@define-color selected_fg_color #fff; \n"
|
||||
"@define-color tooltip_bg_color #eee1b3; \n"
|
||||
"@define-color tooltip_fg_color #000; \n"
|
||||
"@define-color placeholder_text_color #808080; \n"
|
||||
"\n"
|
||||
"@define-color info_fg_color rgb (181, 171, 156);\n"
|
||||
"@define-color info_bg_color rgb (252, 252, 189);\n"
|
||||
|
||||
Reference in New Issue
Block a user