Skip to content

Commit 9d42f73

Browse files
committed
wacom: Make 'no support' icon and text look similar to other pages
in cinnamon-settings.
1 parent d20aa76 commit 9d42f73

File tree

2 files changed

+43
-34
lines changed

2 files changed

+43
-34
lines changed

panels/wacom/cinnamon-wacom-properties.ui

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,25 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!-- Generated with glade 3.38.2 -->
2+
<!-- Generated with glade 3.40.0 -->
33
<interface>
44
<requires lib="gtk+" version="3.20"/>
5+
<object class="GtkListStore" id="liststore-tabletmode">
6+
<columns>
7+
<!-- column-name tabletmode -->
8+
<column type="guint"/>
9+
<!-- column-name tabletmode-label -->
10+
<column type="gchararray"/>
11+
</columns>
12+
<data>
13+
<row>
14+
<col id="0">0</col>
15+
<col id="1" translatable="yes">Tablet (absolute)</col>
16+
</row>
17+
<row>
18+
<col id="0">1</col>
19+
<col id="1" translatable="yes">Touchpad (relative)</col>
20+
</row>
21+
</data>
22+
</object>
523
<object class="GtkBox">
624
<property name="visible">True</property>
725
<property name="can-focus">False</property>
@@ -21,22 +39,20 @@
2139
<object class="GtkBox">
2240
<property name="visible">True</property>
2341
<property name="can-focus">False</property>
42+
<property name="valign">center</property>
2443
<property name="hexpand">True</property>
2544
<property name="vexpand">True</property>
2645
<property name="orientation">vertical</property>
46+
<property name="spacing">4</property>
2747
<child>
2848
<object class="GtkImage">
2949
<property name="visible">True</property>
3050
<property name="sensitive">False</property>
3151
<property name="can-focus">False</property>
32-
<property name="valign">end</property>
52+
<property name="margin-bottom">6</property>
3353
<property name="vexpand">True</property>
34-
<property name="pixel-size">96</property>
3554
<property name="icon-name">input-tablet-symbolic</property>
36-
<property name="icon_size">0</property>
37-
<style>
38-
<class name="dim-label"/>
39-
</style>
55+
<property name="icon_size">6</property>
4056
</object>
4157
<packing>
4258
<property name="expand">False</property>
@@ -52,6 +68,10 @@
5268
<property name="label" translatable="yes">No tablet detected</property>
5369
<property name="justify">center</property>
5470
<property name="yalign">1</property>
71+
<attributes>
72+
<attribute name="weight" value="bold"/>
73+
<attribute name="scale" value="1.2"/>
74+
</attributes>
5575
</object>
5676
<packing>
5777
<property name="expand">False</property>
@@ -68,6 +88,10 @@
6888
<property name="label" translatable="yes">Please plug in or turn on your Wacom tablet</property>
6989
<property name="justify">center</property>
7090
<property name="yalign">0</property>
91+
<attributes>
92+
<attribute name="weight" value="bold"/>
93+
<attribute name="scale" value="1.2"/>
94+
</attributes>
7195
</object>
7296
<packing>
7397
<property name="expand">False</property>
@@ -101,9 +125,6 @@
101125
<property name="height">3</property>
102126
</packing>
103127
</child>
104-
<child>
105-
<placeholder/>
106-
</child>
107128
</object>
108129
</child>
109130
<child type="tab">
@@ -448,22 +469,4 @@
448469
</packing>
449470
</child>
450471
</object>
451-
<object class="GtkListStore" id="liststore-tabletmode">
452-
<columns>
453-
<!-- column-name tabletmode -->
454-
<column type="guint"/>
455-
<!-- column-name tabletmode-label -->
456-
<column type="gchararray"/>
457-
</columns>
458-
<data>
459-
<row>
460-
<col id="0">0</col>
461-
<col id="1" translatable="yes">Tablet (absolute)</col>
462-
</row>
463-
<row>
464-
<col id="0">1</col>
465-
<col id="1" translatable="yes">Touchpad (relative)</col>
466-
</row>
467-
</data>
468-
</object>
469472
</interface>

panels/wacom/wacom-stylus-page.ui

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!-- Generated with glade 3.38.2 -->
2+
<!-- Generated with glade 3.40.0 -->
33
<interface>
44
<requires lib="gtk+" version="3.20"/>
55
<object class="GtkAdjustment" id="adjustment-eraser-feel">
@@ -56,19 +56,17 @@
5656
<object class="GtkBox" id="no-stylus-page">
5757
<property name="visible">True</property>
5858
<property name="can-focus">False</property>
59+
<property name="valign">center</property>
5960
<property name="orientation">vertical</property>
61+
<property name="spacing">4</property>
6062
<child>
6163
<object class="GtkImage">
6264
<property name="visible">True</property>
6365
<property name="can-focus">False</property>
6466
<property name="valign">end</property>
6567
<property name="vexpand">True</property>
66-
<property name="pixel-size">96</property>
6768
<property name="icon-name">input-tablet-symbolic</property>
68-
<property name="icon_size">0</property>
69-
<style>
70-
<class name="dim-label"/>
71-
</style>
69+
<property name="icon_size">6</property>
7270
</object>
7371
<packing>
7472
<property name="expand">False</property>
@@ -81,6 +79,10 @@
8179
<property name="visible">True</property>
8280
<property name="can-focus">False</property>
8381
<property name="label" translatable="yes">No stylus found</property>
82+
<attributes>
83+
<attribute name="weight" value="bold"/>
84+
<attribute name="scale" value="1.2"/>
85+
</attributes>
8486
</object>
8587
<packing>
8688
<property name="expand">False</property>
@@ -98,6 +100,10 @@
98100
<property name="justify">center</property>
99101
<property name="wrap">True</property>
100102
<property name="width-chars">30</property>
103+
<attributes>
104+
<attribute name="weight" value="bold"/>
105+
<attribute name="scale" value="1.2"/>
106+
</attributes>
101107
</object>
102108
<packing>
103109
<property name="expand">False</property>

0 commit comments

Comments
 (0)