Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Tabbed Properties background (Linux/Ubuntu)
Tabbed Properties background (Linux/Ubuntu) [message #1278469] Thu, 27 March 2014 07:26 Go to next message
Rui Domingues is currently offline Rui Domingues
Messages: 189
Registered: October 2010
Senior Member
Hi everyone.


I don't know if this is the right forum but I've this issue:

When In Linux/Ubuntu, in eclipse and RCPs the background color of tabbed properties tabs is too dark, I can't figure out How to change it. I know it should be related to OS.

Check the attached image.

Please someone knows how to fix it.

Thanks
Re: Tabbed Properties background (Linux/Ubuntu) [message #1280165 is a reply to message #1278469] Sat, 29 March 2014 18:45 Go to previous messageGo to next message
Sopot Cela is currently offline Sopot Cela
Messages: 597
Registered: December 2010
Senior Member

This is probably related to SWT. I'll try to move it there for you.
Re: Tabbed Properties background (Linux/Ubuntu) [message #1281323 is a reply to message #1280165] Mon, 31 March 2014 14:19 Go to previous messageGo to next message
Rui Domingues is currently offline Rui Domingues
Messages: 189
Registered: October 2010
Senior Member
Thanks for replying.

Right now I am having this issue in Ubuntu and Elementary distros.

Someone can help me? That's because this turns the applications ugly and barely readable.


Rui
Re: Tabbed Properties background (Linux/Ubuntu) [message #1281878 is a reply to message #1281323] Tue, 01 April 2014 09:54 Go to previous messageGo to next message
Rui Domingues is currently offline Rui Domingues
Messages: 189
Registered: October 2010
Senior Member
Anyone?

It's hard to me to believe nobody else has this issue...

I tried to look at .gtkrc-2.0 in Home Directory, but Can't also figure out how to change it??

Thanks in advance.

Rui
Re: Tabbed Properties background (Linux/Ubuntu) [message #1281915 is a reply to message #1281878] Tue, 01 April 2014 11:12 Go to previous message
Rui Domingues is currently offline Rui Domingues
Messages: 189
Registered: October 2010
Senior Member
Ok. I've already managed to get a better color.
I've edited the file .gtkrc-2.0 in my home directory, and added an include to other file.

gtkrc-2.0 has now the following reference to mycustom file:
include "/home/rui/mycustom"


and mycustom file has the following content in order to change the aspect of some widgets.
In my case I have to change the style "default", but if you are using other style you must put that style instead of "default"

style "default"
{
  GtkHSV::focus-line-pattern = "\0"

  GtkWidget::focus-line-pattern = "\4\2"
  GtkWidget::focus-line-width = 2
  GtkWidget::focus-padding = 0
  GtkWidget::interior_focus = 1
  GtkWidget::link-color = "#000060"
  GtkWidget::visited-link-color = "#600000"
}

class "GtkWidget" style "default"



So, it was related to OS. But I don't know if SWT should ou should not handle this.

Thanks.
Rui
Previous Topic:Web Start on Mac does not respond to zoom, minimize, close, menu
Next Topic:Capture Quick Fix Event
Goto Forum:
  


Current Time: Wed Aug 27 17:22:22 EDT 2014

Powered by FUDForum. Page generated in 0.02916 seconds