Eclipse hover and documentation dialogs have a dark background - linux

I would like to start using Eclipse in place of Netbeans. However, it seems to be that even the most basic things like setting the colours are very difficult to do.
I really can not figure out how to have a decent colour in both tooltips and documentation dialogs. Currently, they are like you can see here:
As you can see in the following image, I have already set the documentation background to white, but to no avail. I also tried different colours, nothing changes.
Following some advices in an other answer, I tried modifying my theme tooltip colour, but is already as they suggest me to edit it.
/usr/share/themes/Numix-ArchBlue/gtk-2.0/gtkrc
Other settings are like these:
I am on Arch with xfce4-session 4.12.1 (Xfce 4.12) and Numix-ArchBlue as theme.
Any idea about what I shall do?

I had the same problem, however I use the Greybird theme on a Debian testing machine.
I managed to solve it by doing the following:
Edit /usr/share/themes/Greybird/gtk-3.0/gtk-contained.css
Particularly, set the tooltip background and foreground colors as follows:
background-color: #ffffff;
color: black;
This sets the background color to white and the foreground (font) color to black.
The tooltip section of the CSS file looks like this:
The modified tooltip section of the gtk-contained.css
I did the same for /usr/share/themes/Greybird/gtk-3.0/gtk-contained-dark.css
The end result in Eclipse is depicted below:
Eclipse tooltip after editing the CSS files
Maybe for the Numix theme, this would be of help:
https://askubuntu.com/questions/765909/tweaking-newer-gtk3-themes
Good luck!
Kind regards,
Nikolay

Related

TextInputLayout hint color for various states

I have been trying to customize the Hint color in TextInputLayout and it works fine. But the problem is that I have to define color when there is an error, normal/Activated which is working and disabled state of the field.
So I tried creating three different styles with color normal, color activated and so on. But this doesn't seem to change the colour. I have indicated the Appcombat theme as the parent theme as well in my custom styles. I have tried applying these styles through java file as well.
Also let me know on how to define the size of the Hint text through style.
A bit late to the party, but here goes my solution to this:
Set the same style in errorTextAppearance and hintTextAppearance, both with the same color for the item android:textColor. When showing an error, set the error using a spannable with a ForegroundColorSpan with the color you wish to display in the error field, while the hint will remain in the color defined by the style set in errorTextAppearance.

Changing only some path/group fills in a background image using svg-sprites

I'm using svg as a background image (logo) in a WP menu plugin and i want it to change a color (fill) when hovered. As it's a free version of the plugin i can't use image, object etc - i have to use my svg as a background image. I've to support IE (9+) so masks/filters are out of question and i'm pretty much left with svg-sprites. That's okey, i know how to do it (using use/xlink:href).
But now comes a tricky part. I want my svg to change only fills of some groups/paths while hovered leaving others untouched. I can only change colors of all paths/groups together in a background image with svg-sprites afaik. Is there a way to do it? Thank you in advance!

autoLink text color

is it even possible to change the color of an "autoLink"ed label ?
Alloy :
<Label autoLink="Ti.UI.AUTOLINK_EMAIL_ADDRESSES" color="#fff" text="blabla email#fai.com">
The label is white but the email is kind of blue.
I tried everything (except "theme" stuff which I don't really know - I suppose solution may be there), and found no documentation.
For iOS you can use the tintColor property to change the color of the link. This may or may not work on Android though.

Exporting transparent background using Fireworks

I'm pretty new to Fireworks. I drew an orange rectangle and made it semi-transparent. My web page has a patterned background which I'd like to be able to see through my div, but I can't change the opacity of the div in CSS as the div contains other divs that also become transparent using this CSS when I don't want them to!
I've tried loads of things I found on Google but to no avail. Can anyone help?
If you want to know how to export the semi-transparent rectangle from Fireworks so it stays that way, just make sure your canvas color is set to none (the box with a red diagonal line through it) and then export it as a PNG-32.
I'm not sure I understood what you mean by DIVs becoming transparent when using CSS. Can you elaborate on that a bit?

How to change error colors for Komodo IDE color scheme

I'm customizing color scheme, and almost everything working right.
Except command output tab is showing errors in red italic font, color settings for which I cannot find anywhere!
In font&color settings there are "fonts", "colors", "common syntax", "lang-specific" and "indicators" tabs, with drop-down selectors.
There is not one option that has red italic color assigned!!
Default font is white on blue.
Where could I find color settings for command output errors?
Well, nobody is answering, and I found a hack that helps.
It seems, that there's really no gui menu option for error text color in command output, but there is setting in .ksf file for it.
I changed manually line that says
'Errors': {'Error lines': {'fore': 65535, 'hotspot': 1, 'italic': 0}},
where 'fore' is the foreground color, 'italic' is italic font, to what I wanted, and it worked.
I suppose, 'hotspot' means it's clickable, but I don't sure/don't care now.
I know this is kinda late from the original post but I stumbled on this one while searching for this problem, it led me to the hint as to where to look in the GUI.
In version Komodo 9.0+
Preferences > Colour Scheme
Select the tab 'Language Specific'
Select the 'Language Errors' (underneath Others)
The Element type Error lines seems to reflect STDERR

Resources