GNOME Bugzilla – Bug 678790
GtkBox background-color and padding is not themeable
Last modified: 2014-02-04 19:35:41 UTC
Created attachment 217198 [details] TestCase using PyGobject Is not possible to style the background color and the padding of a GtkBox using CSS. I can style the background adding the GtkBox to a GtkEventBox and then using the gtk_widget_modify_bg () method, but I think this should be doable with CSS. I can add paddings adding the GtkBox to a GtkAlignment and then using the gtk_alignment_set_padding () method, but I think the proper way is using CSS here too.
Created attachment 217199 [details] The CSS for the TestCase attached before
GtkBox is now drawing a background
Impressive Matthias, thanks!