[latexila] Disable overlay scrolling when there are regressions



commit 99205d45de5688e94460adcb437213a3cdeb3496
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu Oct 15 15:39:00 2015 +0200

    Disable overlay scrolling when there are regressions
    
    It is sometimes not possible, or not convenient, to select something
    when the overlay scrollbar appears.
    
    Disable overlay scrolling around the DocumentView and the style scheme
    chooser.

 src/document_tab.vala        |    1 +
 src/ui/preferences_dialog.ui |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/document_tab.vala b/src/document_tab.vala
index 69e57d8..40dd0da 100644
--- a/src/document_tab.vala
+++ b/src/document_tab.vala
@@ -154,6 +154,7 @@ public class DocumentTab : Grid
 
         // with a scrollbar
         ScrolledWindow sw = new ScrolledWindow (null, null);
+        sw.overlay_scrolling = false;
 
         if (reparent)
             view.reparent (sw);
diff --git a/src/ui/preferences_dialog.ui b/src/ui/preferences_dialog.ui
index 25c04db..1d9b44a 100644
--- a/src/ui/preferences_dialog.ui
+++ b/src/ui/preferences_dialog.ui
@@ -380,6 +380,7 @@
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="margin_start">12</property>
+                    <property name="overlay_scrolling">False</property>
                     <child>
                       <object class="GtkTreeView" id="schemes_treeview">
                         <property name="height_request">150</property>


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