Re: Expand the child in the GtkHeaderBar
Matthias Clasen <[email protected]>
| Newsgroups | gmane.comp.gnome.gtk+.devel.general,gmane.comp.gnome.nautilus |
|---|---|
| Message-ID | <CAFwd_vADfVVwB31PqD_twdWj64fYKhww=CDR7COBVcy6He=mpQ@mail.gmail.com> |
On Sat, Jul 6, 2013 at 1:28 AM, Tristan Van Berkom <[email protected]> wrote: > > > Why are you using GtkHeaderBar ? > > From what I understand, the main feature of GtkHeaderBar is to center > the title text in the allocation regardless of the size of any sibling > widgets which are to the left or right. > > But you are not displaying a title anyway... so why not just use a > horizontal GtkBox ? Alternatively, try putting the entry in the centered position, using gtk_header_bar_set_custom_title. Looks to me like the entry should be centered, anyway ?