How to change toolbars thick on eclipse? (Manjaro Linux - XFCE) - linux

so I want to make eclipse to look a little more "compact", this, referring to the toolbar thickness. I've changed the tabs width and font size following the instructions here: Eclipse Luna UI rendering in Linux
I'd like to know if there's a way to change also that "gap" on the toolbars so I can get a little more space.
Here's a SS of my eclipse running: http://www.subeimagenes.com/img/ss-1138171.png
and I want to remove or reduce that gap I'm putting on red, any help/comment would be nice.
Thanks in advance!

Since eclipse 4.x you can modify the look and fill of controls and workspaces using CSS. See this Eclipse 4 CSS Styling- Tutorial it should help.

Related

Can ZeroBrane windows have a dark theme without using OS's high-contrast theme?

Just to clarify, I'm not talking about making the background of the editing frame or window dark via:
local G = ...
styles = G.loadfile('cfg/tomorrow.lua')('Zenburn') -- theme
I'm talking about making the background of the Project frame/window, Output window, the menu bar, etc., all dark too.
Is this possible to do without using Windows's high-contrast theme for everything?
Thank you.
I don't think this is possible, as it relies on wxwidgets to draw those windows and wxwidgets uses system-provided colors to draw them (without much if any user control).
I opened a wxwidgets ticket that would implement re-configuring system colors, but there hasn't been much movement on it.

Android Responsive design using android studio

Hi all !!
I'm newbie to android, Can i get any solutions to make my android app layout that fits in all screens.
If there is any tutorial on it, that would be appreciated !!
Thanks,
Create the following folders in res and add the xml in that
res/layout-small
res/layout-normal
res/layout-large
res/layout-xlarge
And open it from studio layout and make changes.
this link helps you.
The Android resource system gives you the tools to provide alternate resources based on the available width, height, or smallest width — important measurements that serve as the basis for choosing when to change our UI based on the space available.
Width and Breakpoints
Width is perhaps the most important dimension when it comes to choosing when to change your UI. This is because width is the basis for the breakpoint system.
A very good example is here

Eclipse Scroll Pane Cutting Parts of its Content Away

Like I say in the title, Eclipse Neon's scroll panes cut away parts of their content. Here's a screenshot showing what I mean:
Notice they light-gray rectangles at the bottom, side, and top of the scroll pane containing the Java code. Same thing happens with any other scrollable GUI object in Eclipse, and it's becoming rather annoying.
This is happening in the latest version of Eclipse Neon running on Ubuntu 16.04 with the latest OpenJDK.
Any help with resolving this issue is appreciated.
It turned out I was using a GTK+ theme than did not work well with Eclipse, and was causing said issue (the theme in question was a Windows-10-lookalike theme).

Change Text Highlight Color in Eclipse Console

Question
Is it at all possible to change the color of the text highlight in Eclipse console to something more visible in Manjaro Linux? Your time and help are both much appreciated.
Important notes
I am using the default GTK theme. I do not want to use a different theme.
For testing, I have tried using a different theme, but that didn't help.
Problem
Currently, I am stuck with a barely visible light grey text selection in Eclipse console in the following two scenarios:
When manually selecting text
When using the Find\Replace... search function
Supporting screenshots
Manual mouse text selection:
Find/Replace... selection:
Looking into and changing these settings did not help:
I once ran into the same problem and used the gnome-color-chooser to resolve this issue.
You have to change property selected_bg_color value in your current GTK theme gtkrc file. I am using Ambiance theme.
So my setting are:
cat /usr/share/themes/Ambiance/gtk-2.0/gtkrc | more
gtk-color-scheme = "base_color:#ffffff\nfg_color:#4c4c4c\ntooltip_fg_color:#000000\nselected_bg_color:#f07746\nselected_fg_color:#FFFFFF\ntext_color:#3C3C3C\nbg_color:#F2F1F
0\ntooltip_bg_color:#f5f5c5\nlink_color:#DD4814"
Also refer these post which helps you in future for similar kinds of problems.
Change Eclipse sidebar vertical scope highlighting
eclipse-on-ubuntu-fixing-the-black-background-color-in-hover

Changing color of Eclipse links in quick fix or Eclipse links in preferences on Linux

if i use a dark theme then links in Eclipse-"quick fix" or in i.e. Eclipse->Preferences->General->Editor (the three 'see... "File Associaton"|"Content Types"|"Appearance"'-links) are unreadable.
On this image the links i am talking about are cyan on grey:
I found a solution for Windows/XP:
The hover uses the same colors as the on your system. On Windows you
can change that via Display settings > Appearance > Advanced: ToolTip.
The link color is the one used in your browser (IE on Windows).
However, i need a solution for Linux (XFCE 4.8.1/GTK)
I checked/tested all settings of Eclipse and i found no setting for this link-color. It seems to be a system-setting (GTK), so i already tried to add this to gtkrc:
style "default" {
GtkWidget::link-color = "#ffffff"
}
class "GtkWidget" style "default"
but this did not change the link color in Eclipse.
I hope you can help - thanks!
GNOME
http://devblog.virtage.com/2013/06/eclipse-and-eclipse-based-apps-on-ubuntu-13-04-desktop-hacks/
KDE
Use the colors menu (the first entry in the picture):
And redefine the tooltip background color:
Then enjoy the readable popups:
Install gnome-color-chooser and customize the tooltip color as described here:
http://www.devsniper.com/black-tooltip-in-eclipse-on-ubuntu-12-04/
I'll chime in here, since I have the same issue.
There is no fix for this, when running Eclipse on Unix (KDE, Gnome, etc).
The color for links, which is used in the QuickFix list as well as various other places in the UI (such as Preferences panels), is hardcoded.
On Windows, you are luckier, since Eclipse uses the native link widget, which takes its colors from system settings.
On non-Windows, you are stuck with a dark-blue hardcoded color.
What it should do, at least on GTK, is use the GtkWidget::link-color setting. But it doesn't, currently.
If you want to see it fixed, either upvode this bug or fix the code yourself:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=130444
Sad, I know ):
Check out this post https://stackoverflow.com/questions/96981/color-themes-for-eclipse or have a look at the Eclipse color themes site.

Resources