[latexila/gnome-3] Symbols: expand



commit 0e5b87140b043426003892f67015ba8350fe55cc
Author: SÃbastien Wilmet <swilmet src gnome org>
Date:   Mon Mar 12 01:56:21 2012 +0100

    Symbols: expand
    
    The categories are not fixed, because the text is wrapped. An IconView
    for showing the categories is not the best solution. Maybe simply show
    the icons in a toolbar, like it is done for the structure?

 src/symbols.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/symbols.vala b/src/symbols.vala
index bb5ee4f..f869690 100644
--- a/src/symbols.vala
+++ b/src/symbols.vala
@@ -786,6 +786,7 @@ public class Symbols : Grid
         categories_view.spacing = 5;
         categories_view.row_spacing = 0;
         categories_view.column_spacing = 0;
+        categories_view.hexpand = true;
 
         add (categories_view);
         categories_view.show ();
@@ -798,9 +799,9 @@ public class Symbols : Grid
         symbol_view.spacing = 0;
         symbol_view.row_spacing = 0;
         symbol_view.column_spacing = 0;
+        symbol_view.expand = true;
 
         Widget sw = Utils.add_scrollbar (symbol_view);
-        sw.expand = true;
         add (sw);
         sw.show_all ();
 



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