[gnome-control-center/gnome-3-34] network: fix Add Connection dialog
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-34] network: fix Add Connection dialog
- Date: Tue, 17 Sep 2019 22:23:54 +0000 (UTC)
commit ca7634e4a3d543d26ae641a15e4dff5025f810d2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Feb 9 14:46:32 2016 +0000
network: fix Add Connection dialog
The Add Connection widgets from the connection
editor dialog weren't properly using the available
space, since they don't expand.
Fix that by making them expand and fill the available
space properly. It also avoids blank space by vertically
centering the list.
(cherry picked from commit 6e6e9952b4e6b1a3715254ee3fd131db7d8b0594)
panels/network/connection-editor/connection-editor.ui | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/panels/network/connection-editor/connection-editor.ui
b/panels/network/connection-editor/connection-editor.ui
index 3403a0364..b7c0a37ba 100644
--- a/panels/network/connection-editor/connection-editor.ui
+++ b/panels/network/connection-editor/connection-editor.ui
@@ -72,11 +72,13 @@
<object class="GtkBox" id="add_connection_outer_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="vexpand">True</property>
<child>
<object class="GtkBox" id="add_connection_inner_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
+ <property name="vexpand">True</property>
<child>
<object class="GtkFrame" id="add_connection_frame">
<property name="width_request">300</property>
@@ -84,12 +86,14 @@
<property name="can_focus">False</property>
<property name="label_xalign">0</property>
<property name="shadow_type">in</property>
+ <property name="vexpand">True</property>
+ <property name="valign">center</property>
<child>
<placeholder/>
</child>
</object>
<packing>
- <property name="expand">False</property>
+ <property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]