summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsunflowerskater <sunflowerskater@tutanota.com>2023-02-11 15:53:05 -0300
committerAutomeris naranja <104251-automerisnaranja@users.noreply.gitlab.gnome.org>2023-02-11 15:53:05 -0300
commit39be0485ff8ffee5f9138fc456daf50a40b1d827 (patch)
tree15ef2af1a2904a7378733e147e74ad8fc8a76771
parent4838fa95d98e220816d32c0202e81114d55b2ef5 (diff)
downloadgnome-font-viewer-39be0485ff8ffee5f9138fc456daf50a40b1d827.tar.gz
font-view-window: Add placeholder text to the search entry
Acc. HIG, "text fields should have placeholder text or a label". https://developer.gnome.org/hig/patterns/controls/text-fields.html
-rw-r--r--src/font-view-window.ui4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/font-view-window.ui b/src/font-view-window.ui
index 34b8d0b..9c8a3e7 100644
--- a/src/font-view-window.ui
+++ b/src/font-view-window.ui
@@ -56,7 +56,9 @@
<property name="child">
<object class="AdwClamp">
<property name="child">
- <object class="GtkSearchEntry" id="search_entry"/>
+ <object class="GtkSearchEntry" id="search_entry">
+ <property name="placeholder-text" translatable="yes">Search fonts</property>
+ </object>
</property>
</object>
</property>