[epiphany/wip/exalm/bookmarks: 3/3] Ensure tag scrolled window has correct size



commit e556378dccda29e576316c2b36730fece4e60760
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sun Oct 6 16:23:37 2019 +0500

    Ensure tag scrolled window has correct size
    
    Specify min-children-per-line so that its natural height always matches
    content, and make bookmarks dialog unresizable so that it follows the
    flowbox height.

 src/bookmarks/ephy-bookmark-row.c             | 1 +
 src/resources/gtk/bookmark-properties-grid.ui | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/src/bookmarks/ephy-bookmark-row.c b/src/bookmarks/ephy-bookmark-row.c
index fe4979276..db79b4d5e 100644
--- a/src/bookmarks/ephy-bookmark-row.c
+++ b/src/bookmarks/ephy-bookmark-row.c
@@ -61,6 +61,7 @@ ephy_bookmark_row_button_clicked_cb (EphyBookmarkRow *row,
                          "title", _("Bookmark Properties"),
                          "transient-for", GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (row))),
                          "use-header-bar", TRUE,
+                         "resizable", FALSE,
                          "modal", TRUE,
                          NULL);
 
diff --git a/src/resources/gtk/bookmark-properties-grid.ui b/src/resources/gtk/bookmark-properties-grid.ui
index 3f28c3023..205f88fdd 100644
--- a/src/resources/gtk/bookmark-properties-grid.ui
+++ b/src/resources/gtk/bookmark-properties-grid.ui
@@ -118,6 +118,7 @@
             <property name="selection-mode">none</property>
             <property name="homogeneous">true</property>
             <property name="valign">start</property>
+            <property name="min-children-per-line">3</property>
             <property name="max-children-per-line">3</property>
             <property name="visible">true</property>
           </object>


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