<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Michele Campeotto: Tag userinterface</title>
    <link>http://blog.micampe.it/articles/tag/userinterface?tag=userinterface</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>I'm not Winston Wolfe.</description>
    <item>
      <title>Custom scrollbar arrows position</title>
      <description>&lt;p&gt;A quick tip so that I don&amp;#8217;t have to dig it out every time I need it (as I did yesterday for the tenth time, I think).&lt;/p&gt;

&lt;p&gt;If you want to customize the displayed arrows in Gtk and GNOME applications, put this in &lt;code&gt;~/.gtkrc-2.0&lt;/code&gt;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;style "scrollbar-arrows" {
    GtkScrollbar::has-backward-stepper = 0           # top - up arrow
    GtkScrollbar::has-forward-stepper = 1            # bottom - down arrow
    GtkScrollbar::has-secondary-backward-stepper = 1 # bottom - up arrow
    GtkScrollbar::has-secondary-forward-stepper = 0  # top - down arrow
}

class "GtkScrollbar"  style "scrollbar-arrows"
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This configuration will give you a NeXT-like behaviour, with both scrollbar arrows on the same side, on the bottom-right corner of the scrolled pane.&lt;/p&gt;

&lt;p&gt;Unfortunately, this works with everything but Firefox (and other XUL applications like Thunderbird, I suppose).&lt;/p&gt;</description>
      <pubDate>Fri, 28 Apr 2006 00:28:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:f7ac7f8f-f52d-4b6c-bf77-ec8d17c3cc2d</guid>
      <author>micampe</author>
      <link>http://blog.micampe.it/articles/2006/04/28/custom-scrollbar-arrows-position</link>
      <category>English</category>
      <category>gtk</category>
      <category>tweak</category>
      <category>userinterface</category>
      <trackback:ping>http://blog.micampe.it/articles/trackback/206</trackback:ping>
    </item>
  </channel>
</rss>
