aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2021-08-10 23:51:25 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-10-05 14:32:09 +0200
commitabe6389349b66040b428284b793f31a6239c1766 (patch)
tree6f89ce8e8c22379b826eb95dc715e34aa0885a03 /main
parent0b5029b22d378a7449c19f7becacd5ce70a89bbf (diff)
emojichooser.ui: set category icons on a GtkGrid
Instead of using a 1x10 GtkBox, a 2x5 GtkGrid is now used so used horizontal space is reduced to a half. This is particulary interesting on devices like the PinePhone, since the widget would partially fall out of the screen otherwise.
Diffstat (limited to 'main')
-rw-r--r--main/data/emojichooser.ui42
1 files changed, 41 insertions, 1 deletions
diff --git a/main/data/emojichooser.ui b/main/data/emojichooser.ui
index d47a2c22..473820a6 100644
--- a/main/data/emojichooser.ui
+++ b/main/data/emojichooser.ui
@@ -187,7 +187,7 @@
</object>
</child>
<child>
- <object class="GtkBox">
+ <object class="GtkGrid">
<property name="visible">1</property>
<!-- Remember to keep tooltips here in sync with section headings above -->
<child>
@@ -204,6 +204,10 @@
</object>
</child>
</object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ </packing>
</child>
<child>
<object class="GtkButton" id="people.button">
@@ -219,6 +223,10 @@
</object>
</child>
</object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
+ </packing>
</child>
<child>
<object class="GtkButton" id="body.button">
@@ -234,6 +242,10 @@
</object>
</child>
</object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="top_attach">0</property>
+ </packing>
</child>
<child>
<object class="GtkButton" id="nature.button">
@@ -249,6 +261,10 @@
</object>
</child>
</object>
+ <packing>
+ <property name="left_attach">3</property>
+ <property name="top_attach">0</property>
+ </packing>
</child>
<child>
<object class="GtkButton" id="food.button">
@@ -264,6 +280,10 @@
</object>
</child>
</object>
+ <packing>
+ <property name="left_attach">4</property>
+ <property name="top_attach">0</property>
+ </packing>
</child>
<child>
<object class="GtkButton" id="travel.button">
@@ -279,6 +299,10 @@
</object>
</child>
</object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">1</property>
+ </packing>
</child>
<child>
<object class="GtkButton" id="activities.button">
@@ -294,6 +318,10 @@
</object>
</child>
</object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">1</property>
+ </packing>
</child>
<child>
<object class="GtkButton" id="objects.button">
@@ -309,6 +337,10 @@
</object>
</child>
</object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="top_attach">1</property>
+ </packing>
</child>
<child>
<object class="GtkButton" id="symbols.button">
@@ -324,6 +356,10 @@
</object>
</child>
</object>
+ <packing>
+ <property name="left_attach">3</property>
+ <property name="top_attach">1</property>
+ </packing>
</child>
<child>
<object class="GtkButton" id="flags.button">
@@ -339,6 +375,10 @@
</object>
</child>
</object>
+ <packing>
+ <property name="left_attach">4</property>
+ <property name="top_attach">1</property>
+ </packing>
</child>
</object>
</child>