[gnome-control-center/wip/every-detail-matters-round1: 6/11] wifi: Reorder icons displayed for wifi access points



commit 527e3ded3aebfe6dc197c088c01755424dba9ebb
Author: p3732 <p3732 users noreply github com>
Date:   Fri Jun 7 01:58:17 2019 +0200

    wifi: Reorder icons displayed for wifi access points
    
    Change the layout of the wifi access point rows according to
    the new mockups.
    
    Fixes #554

 panels/network/cc-wifi-connection-row.ui | 55 +++++++++++++++++++-------------
 1 file changed, 32 insertions(+), 23 deletions(-)
---
diff --git a/panels/network/cc-wifi-connection-row.ui b/panels/network/cc-wifi-connection-row.ui
index 91461491f..d8be88b9f 100644
--- a/panels/network/cc-wifi-connection-row.ui
+++ b/panels/network/cc-wifi-connection-row.ui
@@ -26,6 +26,15 @@
             </child>
           </object>
         </child>
+        <child>
+          <object class="GtkImage" id="strength_icon">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="margin_right">6</property>
+            <property name="icon_name">network-wireless-signal-excellent-symbolic</property>
+            <property name="icon_size">1</property>
+          </object>
+        </child>
         <child>
           <object class="GtkLabel" id="name_label">
             <property name="visible">True</property>
@@ -45,13 +54,33 @@
             <property name="icon_size">1</property>
           </object>
         </child>
+        <child>
+          <object class="GtkImage" id="encrypted_icon">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="hexpand">True</property>
+            <property name="halign">end</property>
+            <property name="icon_name">network-wireless-encrypted-symbolic</property>
+            <property name="icon_size">1</property>
+          </object>
+        </child>
+        <child>
+          <object class="GtkSeparator" id="configure_separator">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="margin_bottom">6</property>
+            <property name="margin_left">6</property>
+            <property name="margin_right">6</property>
+            <property name="margin_top">6</property>
+          </object>
+        </child>
         <child>
           <object class="GtkStack" id="button_stack">
             <property name="name">button_stack</property>
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="halign">end</property>
-            <property name="hexpand">True</property>
+            <property name="hexpand">False</property>
             <child>
               <object class="GtkButton" id="configure_button">
                 <property name="name">options_button</property>
@@ -96,36 +125,16 @@
               </packing>
             </child>
             <child>
-              <object class="GtkAlignment">
+              <object class="GtkBox">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <child>
-                  <placeholder/>
-                </child>
+                <property name="name">empty_box</property>
               </object>
               <packing>
                 <property name="name">empty</property>
-                <property name="position">2</property>
               </packing>
             </child>
           </object>
         </child>
-        <child>
-          <object class="GtkImage" id="encrypted_icon">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="icon_name">network-wireless-encrypted-symbolic</property>
-            <property name="icon_size">1</property>
-          </object>
-        </child>
-        <child>
-          <object class="GtkImage" id="strength_icon">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="icon_name">network-wireless-signal-excellent-symbolic</property>
-            <property name="icon_size">1</property>
-          </object>
-        </child>
       </object>
     </child>
   </template>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]