Re: Different looking toolbars and missing shadows with GTK3
- From: Staffan Gimåker <staffan gimaker se>
- To: Florian Max <florian muellner gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Different looking toolbars and missing shadows with GTK3
- Date: Tue, 31 May 2011 15:53:02 +0200
On Tue, 2011-05-31 at 15:35 +0200, Florian Max wrote:
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.
Thank you, that works. It looks kind of messed up for vertical toolbar,
but that's a different issue.
It also seems like you cannot set this from within Glade (3.10.0) at the
moment, but I can live with that.
/Staffan
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]