changeset 19624:6d75f1683ce8 gui-release

fix scroll width of horizontal scroll bar (bug #44040) *file-editor-tab.cc (notice-settings): enable scroll width tracking
author Torsten <ttl@justmail.de>
date Mon, 19 Jan 2015 07:04:12 +0100
parents 4fe86a372f10
children 37d37297acf8 fe689210525c
files libgui/src/m-editor/file-editor-tab.cc
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.cc	Sun Jan 18 18:33:43 2015 -0500
+++ b/libgui/src/m-editor/file-editor-tab.cc	Mon Jan 19 07:04:12 2015 +0100
@@ -1908,6 +1908,7 @@
   _edit_area->SendScintilla (QsciScintillaBase::SCI_SETHSCROLLBAR,
         settings->value ("editor/show_hscroll_bar",true).toBool ());
   _edit_area->SendScintilla (QsciScintillaBase::SCI_SETSCROLLWIDTH,-1);
+  _edit_area->SendScintilla (QsciScintillaBase::SCI_SETSCROLLWIDTHTRACKING,true);
 
   _long_title = settings->value ("editor/longWindowTitle", false).toBool ();
   update_window_title (_edit_area->isModified ());