Re: Different looking toolbars and missing shadows with GTK3



Hi,


Still interested in hearing how to get uniformly looking toolbars.


The toolbar should have the 'primary-toolbar' style class, e.g. do

    gtk_style_context_add_class (gtk_widget_get_style_context (toolbar),
                                                "primary-toolbar");

in the code, or

<object class="GtkToolbar">
  <style>
    <class name="primary-toolbar"/>
 </style>
</object>

in the GtkBuilder ui definition.

Florian



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]