Browse Source

Added an icon to the select-none screen

Clara Hobbs 7 years ago
parent
commit
ae2cab9165
1 changed files with 22 additions and 14 deletions
  1. 22
    14
      data/select-stack.ui

+ 22
- 14
data/select-stack.ui View File

14
         <property name="valign">center</property>
14
         <property name="valign">center</property>
15
         <property name="margin_bottom">22</property>
15
         <property name="margin_bottom">22</property>
16
         <property name="orientation">vertical</property>
16
         <property name="orientation">vertical</property>
17
+        <property name="spacing">12</property>
17
         <child>
18
         <child>
18
-          <object class="GtkLabel" id="select-none-header">
19
+          <object class="GtkImage">
19
             <property name="visible">True</property>
20
             <property name="visible">True</property>
20
             <property name="can_focus">False</property>
21
             <property name="can_focus">False</property>
21
-            <property name="margin_bottom">12</property>
22
-            <property name="label" translatable="yes">No devices found</property>
23
-            <attributes>
24
-              <attribute name="weight" value="bold"/>
25
-              <attribute name="scale" value="2"/>
26
-            </attributes>
27
-            <style>
28
-              <class name="dim-label"/>
29
-            </style>
22
+            <property name="pixel_size">128</property>
23
+            <property name="icon_name">ac-adapter-symbolic</property>
24
+            <property name="icon_size">6</property>
30
           </object>
25
           </object>
31
           <packing>
26
           <packing>
32
             <property name="expand">False</property>
27
             <property name="expand">False</property>
34
             <property name="position">0</property>
29
             <property name="position">0</property>
35
           </packing>
30
           </packing>
36
         </child>
31
         </child>
32
+        <child>
33
+          <object class="GtkLabel" id="select-none-header">
34
+            <property name="visible">True</property>
35
+            <property name="can_focus">False</property>
36
+            <property name="label" translatable="yes">&lt;b&gt;&lt;span size="large"&gt;No devices found&lt;/span&gt;&lt;/b&gt;</property>
37
+            <property name="use_markup">True</property>
38
+          </object>
39
+          <packing>
40
+            <property name="expand">False</property>
41
+            <property name="fill">True</property>
42
+            <property name="position">1</property>
43
+          </packing>
44
+        </child>
37
         <child>
45
         <child>
38
           <object class="GtkLabel" id="select-none-text">
46
           <object class="GtkLabel" id="select-none-text">
39
             <property name="visible">True</property>
47
             <property name="visible">True</property>
40
             <property name="can_focus">False</property>
48
             <property name="can_focus">False</property>
41
             <property name="label" translatable="yes">All connected PD Buddy devices will appear here</property>
49
             <property name="label" translatable="yes">All connected PD Buddy devices will appear here</property>
42
-            <style>
43
-              <class name="dim-label"/>
44
-            </style>
45
           </object>
50
           </object>
46
           <packing>
51
           <packing>
47
             <property name="expand">False</property>
52
             <property name="expand">False</property>
48
             <property name="fill">True</property>
53
             <property name="fill">True</property>
49
-            <property name="position">1</property>
54
+            <property name="position">2</property>
50
           </packing>
55
           </packing>
51
         </child>
56
         </child>
57
+        <style>
58
+          <class name="dim-label"/>
59
+        </style>
52
       </object>
60
       </object>
53
       <packing>
61
       <packing>
54
         <property name="name">page1</property>
62
         <property name="name">page1</property>

Loading…
Cancel
Save