Skip to content

Commit

Permalink
wacom: Make 'no support' icon and text look similar to other pages
Browse files Browse the repository at this point in the history
in cinnamon-settings.
  • Loading branch information
mtwebster committed Feb 20, 2025
1 parent d20aa76 commit 9d42f73
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 34 deletions.
59 changes: 31 additions & 28 deletions panels/wacom/cinnamon-wacom-properties.ui
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 -->
<!-- Generated with glade 3.40.0 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkListStore" id="liststore-tabletmode">
<columns>
<!-- column-name tabletmode -->
<column type="guint"/>
<!-- column-name tabletmode-label -->
<column type="gchararray"/>
</columns>
<data>
<row>
<col id="0">0</col>
<col id="1" translatable="yes">Tablet (absolute)</col>
</row>
<row>
<col id="0">1</col>
<col id="1" translatable="yes">Touchpad (relative)</col>
</row>
</data>
</object>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
Expand All @@ -21,22 +39,20 @@
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="valign">center</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="orientation">vertical</property>
<property name="spacing">4</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can-focus">False</property>
<property name="valign">end</property>
<property name="margin-bottom">6</property>
<property name="vexpand">True</property>
<property name="pixel-size">96</property>
<property name="icon-name">input-tablet-symbolic</property>
<property name="icon_size">0</property>
<style>
<class name="dim-label"/>
</style>
<property name="icon_size">6</property>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -52,6 +68,10 @@
<property name="label" translatable="yes">No tablet detected</property>
<property name="justify">center</property>
<property name="yalign">1</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="1.2"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -68,6 +88,10 @@
<property name="label" translatable="yes">Please plug in or turn on your Wacom tablet</property>
<property name="justify">center</property>
<property name="yalign">0</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="1.2"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
Expand Down Expand Up @@ -101,9 +125,6 @@
<property name="height">3</property>
</packing>
</child>
<child>
<placeholder/>
</child>
</object>
</child>
<child type="tab">
Expand Down Expand Up @@ -448,22 +469,4 @@
</packing>
</child>
</object>
<object class="GtkListStore" id="liststore-tabletmode">
<columns>
<!-- column-name tabletmode -->
<column type="guint"/>
<!-- column-name tabletmode-label -->
<column type="gchararray"/>
</columns>
<data>
<row>
<col id="0">0</col>
<col id="1" translatable="yes">Tablet (absolute)</col>
</row>
<row>
<col id="0">1</col>
<col id="1" translatable="yes">Touchpad (relative)</col>
</row>
</data>
</object>
</interface>
18 changes: 12 additions & 6 deletions panels/wacom/wacom-stylus-page.ui
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 -->
<!-- Generated with glade 3.40.0 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkAdjustment" id="adjustment-eraser-feel">
Expand Down Expand Up @@ -56,19 +56,17 @@
<object class="GtkBox" id="no-stylus-page">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="valign">center</property>
<property name="orientation">vertical</property>
<property name="spacing">4</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="valign">end</property>
<property name="vexpand">True</property>
<property name="pixel-size">96</property>
<property name="icon-name">input-tablet-symbolic</property>
<property name="icon_size">0</property>
<style>
<class name="dim-label"/>
</style>
<property name="icon_size">6</property>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -81,6 +79,10 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">No stylus found</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="1.2"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -98,6 +100,10 @@
<property name="justify">center</property>
<property name="wrap">True</property>
<property name="width-chars">30</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="1.2"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
Expand Down

0 comments on commit 9d42f73

Please sign in to comment.