Quote:
Originally Posted by twobob
Thanks very much... I gave this go... seems to be ignored?
Will dig around in the guts see if I can figure out why. maybe baf knows.
|
Default kindle gtkrc file, which can be overridden using env variable (GTK2_RC_FILES), defines some styles for GtkScrollbar and GtkScrolledWindow:
Code:
style "kindle-scrollbar"
{
GtkScrollbar::has-backward-stepper = 0
GtkScrollbar::has-forward-stepper = 0
GtkScrollbar::slider-width = 16
GtkScrollbar::trough-border = 0
…
style "kindle-scrolled-window"
{
GtkScrolledWindow::scrollbar-spacing = 2
}
…
class "GtkScrollbar" style "kindle-scrollbar"
class "GtkScrolledWindow" style "kindle-scrolled-window"
I remember I was able to change the look of scrollbars by modifying these styles. Did you try it?
EDIT:
I gave it a try.
Code:
[root@kindle root]# cat gtkrc
style "osmo-scrollbar"
{
GtkScrollbar::slider-width = 60
}
class "Gtk*Scrollbar" style "osmo-scrollbar"
[root@kindle root]# GTK2_RC_FILES=gtkrc ./osmo
It resizes scrollbars, but I am not sure it is a good solution. Now I remember I wanted to use it with skipstone, but finally decided it looks bad and takes too much space