[gnome-text-editor] openpopover: improve transition to no-matches



commit 33afcb3d0459e5f5cd76e9a11d95eb254a48f512
Author: Christian Hergert <chergert redhat com>
Date:   Tue Dec 7 14:05:56 2021 -0800

    openpopover: improve transition to no-matches

 src/TextEditor.css         | 3 +++
 src/editor-open-popover.ui | 5 +----
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/TextEditor.css b/src/TextEditor.css
index 7210c29..3a404c2 100644
--- a/src/TextEditor.css
+++ b/src/TextEditor.css
@@ -70,6 +70,9 @@ window.org-gnome-TextEditor .open-popover contents {
 window.org-gnome-TextEditor .open-popover list {
   margin-bottom: 3px;
 }
+window.org-gnome-TextEditor .open-popover list label.placeholder {
+  min-height: 57px;
+}
 window.org-gnome-TextEditor .open-popover list row {
   border-radius: 9px;
   margin: 3px 6px;
diff --git a/src/editor-open-popover.ui b/src/editor-open-popover.ui
index 253587f..93bd4ca 100644
--- a/src/editor-open-popover.ui
+++ b/src/editor-open-popover.ui
@@ -71,11 +71,8 @@
                         <child type="placeholder">
                           <object class="GtkLabel">
                             <property name="label" translatable="yes">No Results Found</property>
-                            <property name="margin-start">6</property>
-                            <property name="margin-top">18</property>
-                            <property name="margin-bottom">18</property>
-                            <property name="margin-end">6</property>
                             <style>
+                              <class name="placeholder"/>
                               <class name="dim-label"/>
                             </style>
                           </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]