Add proper vertical margins (12px) to the SearchEntry widget in the contacts view to improve spacing and visual consistency. This matches the existing horizontal margins and follows GNOME design guidelines. This change improves the visual appearance by preventing the search bar from appearing cramped, especially when using high-contrast themes. Closes: https://gitlab.gnome.org/GNOME/calls/-/issues/672 Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/762>
59 lines
2.4 KiB
XML
59 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="CallsContactsBox" parent="AdwBin">
|
|
<child>
|
|
<object class="AdwToolbarView" id="child">
|
|
<child type="top">
|
|
<object class="AdwClamp">
|
|
<child>
|
|
<object class="GtkSearchEntry" id="search_entry">
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="margin-top">12</property>
|
|
<property name="margin-bottom">12</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<property name="content">
|
|
<object class="GtkScrolledWindow">
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<child>
|
|
<object class="AdwClamp">
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">12</property>
|
|
<property name="margin-top">12</property>
|
|
<property name="margin-bottom">32</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<child>
|
|
<object class="GtkFrame" id="contacts_frame">
|
|
<property name="child">
|
|
<object class="GtkListBox" id="contacts_listbox">
|
|
<child type="placeholder">
|
|
<object class="AdwStatusPage" id="placeholder_empty">
|
|
<property name="icon_name">edit-find-symbolic</property>
|
|
<property name="title" translatable="yes">No Contacts Found</property>
|
|
</object>
|
|
</child>
|
|
<style>
|
|
<class name="boxed-list"/>
|
|
</style>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|