[gtksourceview] completionlist: avoid baseline for comment row



commit 46257339d4b9bc188a73cf7f154dc49183995620
Author: Christian Hergert <chergert redhat com>
Date:   Thu Sep 1 09:44:27 2022 -0700

    completionlist: avoid baseline for comment row
    
    The baseline really seems to mess things up, so instead just try to match
    the best we can so both single line and multi line look nice.

 gtksourceview/gtksourcecompletionlist.ui | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletionlist.ui b/gtksourceview/gtksourcecompletionlist.ui
index 6209a694..d99b7b52 100644
--- a/gtksourceview/gtksourcecompletionlist.ui
+++ b/gtksourceview/gtksourcecompletionlist.ui
@@ -38,19 +38,16 @@
               <object class="GtkSourceCompletionCell" id="comments">
                 <property name="column">comment</property>
                 <property name="hexpand">true</property>
-                <property name="valign">baseline</property>
+                <property name="margin-top">6</property>
               </object>
             </child>
             <child>
               <object class="GtkBox">
                 <property name="orientation">horizontal</property>
-                <property name="baseline-position">top</property>
-                <property name="valign">baseline</property>
                 <child>
                   <object class="GtkLabel" id="alternate_label">
                     <property name="margin-end">6</property>
                     <property name="margin-start">6</property>
-                    <property name="valign">baseline</property>
                   </object>
                 </child>
                 <child>


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