# Mozilla scrollbars... again

**URL:** <https://www.ruby-forum.com/t/mozilla-scrollbars-again/68282>\
**Category:** Ruby-Gnome 2\
**Created:** [September 11, 2006, 1:04pm UTC](https://www.ruby-forum.com/t/mozilla-scrollbars-again/68282 "2006-09-11T13:04:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/df788c/32.png) [@ivan](https://www.ruby-forum.com/u/ivan)\
**Post date:** [September 11, 2006, 1:04pm UTC](https://www.ruby-forum.com/t/mozilla-scrollbars-again/68282/1 "2006-09-11T13:04:00Z")

</div>

Hi all,  
my gtkmozembed scrollbars are not the one’s used for gnome, instead the  
gtkmozembed uses the default mozilla scrollbar theme.

Take a look to this image, it shows how it looks and how should it look.

> **[ImageShack - Best place for all of your image hosting and image sharing needs](https://imageshack.com/)**
>
> Unlimited space to host images, easy to use image uploader, albums, photo hosting, sharing, dynamic image resizing on web and mobile.

I’m the only one having this problem? is there any way to fix it?

Maybe it should be possible to disable the gtkmozembed scrollbars and  
add my own scrollbars using glade. is this possible?

I’m having this problem not only with my own software but with the demos  
on the ruby-gnome site too,the demo images (and flash video) using  
gtkmozembed shows it is using the right theme for scrollbars, that’s why  
i’m confused.

I know it’s not very critical but it looks so ugly…

Any help is appreciated, thanks!!

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![ivan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/df788c/32.png) [@ivan](https://www.ruby-forum.com/u/ivan)\
**Post date:** [September 12, 2006, 11:46am UTC](https://www.ruby-forum.com/t/mozilla-scrollbars-again/68282/2 "2006-09-12T11:46:30Z")

</div>

Ivan wrote:

> Hi all,  
> my gtkmozembed scrollbars are not the one’s used for gnome, instead the  
> gtkmozembed uses the default mozilla scrollbar theme.
> 
> Take a look to this image, it shows how it looks and how should it look.
> 
> [ImageShack - Best place for all of your image hosting and image sharing needs](http://img172.imageshack.us/my.php?image=scrollbarrh6.jpg)
> 
> I’m the only one having this problem? is there any way to fix it?

Unfortunately this is the default behaviour of many distro. You can  
recompile gtkmozembed against firefox yourself (instead of mozilla or  
xulrunner).

If you don’t want to recompile you can try changing the default theme of  
mozilla (should be in some “js” file under ~/.mozilla/RubyGecko or  
whatever  
you’ve called)

> Maybe it should be possible to disable the gtkmozembed scrollbars and  
> add my own scrollbars using glade. is this possible?

This is not possible using standard calls to gtkmozembed.

–  
Mirko M.

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)
