[gnome-control-center] wifi-connection-list: Add margins and align
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wifi-connection-list: Add margins and align
- Date: Wed, 1 Jun 2022 02:22:19 +0000 (UTC)
commit 9327bbe759427987874eb1ce6891e2aa3abb78d8
Author: Maximiliano Sandoval R <msandova protonmail com>
Date: Mon May 30 23:43:16 2022 +0200
wifi-connection-list: Add margins and align
panels/network/cc-wifi-connection-list.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/panels/network/cc-wifi-connection-list.c b/panels/network/cc-wifi-connection-list.c
index 5de65ca2e..4bd94c43b 100644
--- a/panels/network/cc-wifi-connection-list.c
+++ b/panels/network/cc-wifi-connection-list.c
@@ -706,6 +706,11 @@ cc_wifi_connection_list_init (CcWifiConnectionList *self)
{
self->listbox = GTK_LIST_BOX (gtk_list_box_new ());
gtk_list_box_set_selection_mode (GTK_LIST_BOX (self->listbox), GTK_SELECTION_NONE);
+ gtk_widget_set_valign (GTK_WIDGET (self->listbox), GTK_ALIGN_START);
+ gtk_widget_set_margin_start (GTK_WIDGET (self->listbox), 18);
+ gtk_widget_set_margin_end (GTK_WIDGET (self->listbox), 18);
+ gtk_widget_set_margin_top (GTK_WIDGET (self->listbox), 18);
+ gtk_widget_set_margin_bottom (GTK_WIDGET (self->listbox), 18);
gtk_widget_add_css_class (GTK_WIDGET (self->listbox), "boxed-list");
adw_bin_set_child (ADW_BIN (self), GTK_WIDGET (self->listbox));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]