[Spice-devel] [PATCH spice-gtk 4/6] usb-device-widget: Use an info_bar for error messages
Marc-André Lureau
marcandre.lureau at gmail.com
Wed Feb 22 05:57:03 PST 2012
Somehow the infobar is not aligned with the checkbox buttons below. Is
it intentionnal?
On Tue, Feb 21, 2012 at 3:12 PM, Hans de Goede <hdegoede at redhat.com> wrote:
> + gtk_box_pack_start(GTK_BOX(hbox), widget, FALSE, FALSE, 0);
I would expand/fill the label
> + priv->info_bar = gtk_alignment_new(0, 0, 0, 0);
and keep xscale to 1.0
> + gtk_alignment_set_padding(GTK_ALIGNMENT(priv->info_bar), 0, 0, 12, 0);
> + gtk_container_add(GTK_CONTAINER(priv->info_bar), info_bar);
> + gtk_box_pack_start(GTK_BOX(self), priv->info_bar, FALSE, FALSE, 0);
ack otherwise
--
Marc-André Lureau
More information about the Spice-devel
mailing list