ref: instead of filtering(slow) show all categories in the scroll box, scroll to category on type; change default window size

This commit is contained in:
2026-02-28 15:45:45 +03:00
parent 6922724fa0
commit 6c112c41e7
5 changed files with 274 additions and 42 deletions
+4 -4
View File
@@ -2,8 +2,8 @@
<interface>
<requires lib="gtk" version="4.0" />
<template class="MoeMojiWindow" parent="GtkApplicationWindow">
<property name="default-width">280</property>
<property name="default-height">600</property>
<property name="default-width">680</property>
<property name="default-height">400</property>
<property name="resizable">True</property>
<property name="title">MoeMoji</property>
@@ -18,14 +18,14 @@
<property name="orientation">vertical</property>
<child>
<object class="GtkSearchEntry" id="search_entry">
<property name="placeholder-text">Filter by category...</property>
<property name="placeholder-text">Jump to category...</property>
<property name="margin-start">6</property>
<property name="margin-end">6</property>
<property name="margin-top">6</property>
</object>
</child>
<child>
<object class="GtkScrolledWindow">
<object class="GtkScrolledWindow" id="kaomoji_scroll">
<property name="hscrollbar-policy">never</property>
<property name="vexpand">True</property>
<child>