network: Hexpand connection editor routes labels

Commit ef644deb made the routes labels for the IPv4 and IPv6 center
properly. However, when stretching the dialog, this centering is lost
because the labels do not horizontally expand.

So let's make all of them horizontally expand.
This commit is contained in:
velsinki 2023-11-30 10:28:17 +01:00 committed by Felipe Borges
parent f19a7abf59
commit 0427e160bd
2 changed files with 8 additions and 0 deletions

View file

@ -263,6 +263,7 @@
<property name="orientation">horizontal</property>
<child>
<object class="GtkLabel" id="routes_address_label">
<property name="hexpand">True</property>
<property name="label" translatable="yes">Address</property>
<style>
<class name="dim-label" />
@ -274,6 +275,7 @@
</child>
<child>
<object class="GtkLabel" id="routes_netmask_label">
<property name="hexpand">True</property>
<property name="label" translatable="yes">Netmask</property>
<style>
<class name="dim-label" />
@ -285,6 +287,7 @@
</child>
<child>
<object class="GtkLabel" id="routes_gateway_label">
<property name="hexpand">True</property>
<property name="label" translatable="yes">Gateway</property>
<style>
<class name="dim-label" />
@ -296,6 +299,7 @@
</child>
<child>
<object class="GtkLabel" id="routes_metric_label">
<property name="hexpand">True</property>
<property name="label" translatable="yes" comments="Translators: Please see https://en.wikipedia.org/wiki/Metrics_(networking)">Metric</property>
<style>
<class name="dim-label" />

View file

@ -274,6 +274,7 @@
<property name="orientation">horizontal</property>
<child>
<object class="GtkLabel" id="routes_address_label">
<property name="hexpand">True</property>
<property name="label" translatable="yes">Address</property>
<style>
<class name="dim-label" />
@ -285,6 +286,7 @@
</child>
<child>
<object class="GtkLabel" id="routes_prefix_label">
<property name="hexpand">True</property>
<property name="label" translatable="yes">Prefix</property>
<style>
<class name="dim-label" />
@ -296,6 +298,7 @@
</child>
<child>
<object class="GtkLabel" id="routes_gateway_label">
<property name="hexpand">True</property>
<property name="label" translatable="yes">Gateway</property>
<style>
<class name="dim-label" />
@ -307,6 +310,7 @@
</child>
<child>
<object class="GtkLabel" id="routes_metric_label">
<property name="hexpand">True</property>
<property name="label" translatable="yes" comments="Translators: Please see https://en.wikipedia.org/wiki/Metrics_(networking)">Metric</property>
<style>
<class name="dim-label" />