Make info bar action area horizontal

A vertical action area causes the info bar to be imposingly large.
This defeats the whole point of the info bar which is to be
unobtrusive. Not to mention it is impossible to make it look
and feel good.
This commit is contained in:
William Jon McCann 2013-07-15 09:33:44 -04:00
parent 947385ebae
commit 75c8be6b66
2 changed files with 3 additions and 3 deletions

View File

@ -56,8 +56,8 @@
* #GtkInfoBar is a widget that can be used to show messages to * #GtkInfoBar is a widget that can be used to show messages to
* the user without showing a dialog. It is often temporarily shown * the user without showing a dialog. It is often temporarily shown
* at the top or bottom of a document. In contrast to #GtkDialog, which * at the top or bottom of a document. In contrast to #GtkDialog, which
* has a horizontal action area at the bottom, #GtkInfoBar has a * has a action area at the bottom, #GtkInfoBar has an action area
* vertical action area at the side. * at the side.
* *
* The API of #GtkInfoBar is very similar to #GtkDialog, allowing you * The API of #GtkInfoBar is very similar to #GtkDialog, allowing you
* to add buttons to the action area with gtk_info_bar_add_button() or * to add buttons to the action area with gtk_info_bar_add_button() or

View File

@ -25,7 +25,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="border_width">5</property> <property name="border_width">5</property>
<property name="orientation">vertical</property> <property name="orientation">horizontal</property>
<property name="spacing">6</property> <property name="spacing">6</property>
<property name="layout_style">end</property> <property name="layout_style">end</property>
<child> <child>