mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
The following scroll width functionalities are added to QScintilla: setScrollWidth, getScrollWidth, setScrollWidthTracking and getScrollWidthTracking. This allows setting a lower value for the initial scroll width (default is 2000 pixels). Consequently, the horizontal scroll is only visible if the SQL lines become bigger than window width. The scroll width, though, is never reduced by Scintilla for performance reasons. See this for explanation: https://github.com/jacobslusser/ScintillaNET/issues/216 And see this for a possible implementation of a fully adjusted scroll width with fixed-width fonts: https://groups.google.com/forum/#!topic/scintilla-interest/ly8u7mVDgyQ