podarcis
2013-01-20 15:01:11 UTC
Scrollbars currently have the hardcoded thickness 15. This can be too
small to operate dillo on large screens or with fingers on a touch
screen.
The supplied patch does the following:
- Adds the prefence "scrollbar_tickness" to dillorc.
- Reads the value into the prefences
(Note: added a type UINT32 to prefsparse.cc)
- Sets this value to the FltkViewport with the new
method FltkViewport::setScrollbarThickness().
Note: I deliberately did no check for value 0, which can therefore be
used to make the scrollbars invisible. Scrolling can then still be
achieved with the cursor keys. This could be called a feature.
Cheers,
podarcis
small to operate dillo on large screens or with fingers on a touch
screen.
The supplied patch does the following:
- Adds the prefence "scrollbar_tickness" to dillorc.
- Reads the value into the prefences
(Note: added a type UINT32 to prefsparse.cc)
- Sets this value to the FltkViewport with the new
method FltkViewport::setScrollbarThickness().
Note: I deliberately did no check for value 0, which can therefore be
used to make the scrollbars invisible. Scrolling can then still be
achieved with the cursor keys. This could be called a feature.
Cheers,
podarcis