[Github-comments] [geany/geany] Look and feel does not match on Ubuntu with GTK-3 (#1179)

Colomban Wendling notifications at xxxxx
Sun Sep 3 03:07:42 UTC 2017


> But could the scrollbar at least be more independent from the native theming? 

Again, GTK theming can achieve that, in conjunction with the [widget names we set explicitly](http://www.geany.org/manual/#defining-own-widget-styles-using-gtkrc-2-0) just for that reason.  You could do e.g. something like that (alter as pleases you):

```ruby
style "geany-scintilla-scrollbars"
{
  # select any non-pixmap engine if your theme is using pixmap like e.g. Adwaita does
  engine "clearlooks" {
    style = GLOSSY
  }
  # and choose the colors you like (possibly also alter "fg", depending on the engine) 
  bg[NORMAL] = "#333"
  bg[PRELIGHT] = "#444"
  bg[ACTIVE] = "#666"
}
widget "*Geany*Scintilla*Scrollbar" style "geany-scintilla-scrollbars"
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1179#issuecomment-326781530
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170903/1684ba33/attachment.html>


More information about the Github-comments mailing list