network: fix some alignment issues
If you click the sections in the left side treeview, some of the elements in the right page headers will move a couple of pixels. Also, since the WPAD warning label was always visible, the alignment of the controls section in the Proxy page was suboptimal. https://bugzilla.gnome.org/show_bug.cgi?id=693357
This commit is contained in:
parent
34eab69cee
commit
c0242f2fb3
4 changed files with 3 additions and 3 deletions
|
@ -78,6 +78,8 @@ out:
|
|||
widget = GTK_WIDGET (gtk_builder_get_object (proxy->priv->builder,
|
||||
"label_proxy_warning"));
|
||||
gtk_label_set_markup (GTK_LABEL (widget), string->str);
|
||||
gtk_widget_set_visible (widget, (string->len > 0));
|
||||
|
||||
g_free (autoconfig_url);
|
||||
g_string_free (string, TRUE);
|
||||
}
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="halign">start</property>
|
||||
<property name="valign">center</property>
|
||||
<property name="hexpand">True</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label_device">
|
||||
|
|
|
@ -230,7 +230,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label_proxy_warning">
|
||||
<property name="visible">True</property>
|
||||
<property name="visible">False</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label">WPAD warning…</property>
|
||||
|
|
|
@ -241,7 +241,6 @@
|
|||
<property name="can_focus">False</property>
|
||||
<property name="valign">start</property>
|
||||
<property name="hexpand">True</property>
|
||||
<property name="spacing">3</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label_device">
|
||||
<property name="visible">True</property>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue