You are not logged in.

#1 2012-11-11 11:05:13

CognitiveDev
Member
Registered: 2012-11-11
Posts: 1

Gnome3 Theme issues and right click menu

I have several issues that have finally bugged me enough to pursue a fix for.

First if all, large right click menus often have the top item(s) covered by the top bar, as seen in this picture: (ignore the ugly code in the background- refactoring an assignment...)

aagK8.jpg


This is how it is supposed to look:
YzmM6.png

I have searched, and found https://bbs.archlinux.org/viewtopic.php?id=137965, but it appears that the issue was never resolved.


The second issue I have is with the upgrade to Gnome 3.6, some menus in Eclipse have been very hard to read due to dark text on dark background, as seen in the following picture:
GX9M3.png


Thanks for your help!

Offline

#2 2012-11-11 15:52:40

tokoro
Member
From: Mexico City
Registered: 2011-11-30
Posts: 51

Re: Gnome3 Theme issues and right click menu

You can solve the second issue by going into Eclipse's properties and change the background colors


Non native English speaker [in, on, at are the same to me]

Offline

#3 2012-11-13 14:20:57

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: Gnome3 Theme issues and right click menu

I have same problems...ok for the second, but the first?
please let me know if you solve it! it was there also with previous versions
thanks in advance
NOTE: i think you should mention eclipse into messsage description, it seems to me it happens only with eclipse

Offline

#4 2013-02-07 19:11:03

osebelin
Member
Registered: 2013-02-07
Posts: 1

Re: Gnome3 Theme issues and right click menu

For the first problem:

Create a ~/.gtkrc.eclipse with the following content:

include "/home/<UNAME>/.gtkrc-2.0"

style "default"
{
  GtkButton::default_border={0,0,0,0}
  GtkButton::default_outside_border={0,0,0,0}
  GtkButtonBox::child_min_width=0
  GtkButtonBox::child_min_heigth=0
  GtkButtonBox::child_internal_pad_x=0
  GtkButtonBox::child_internal_pad_y=0
  GtkMenu::vertical-padding=1
  GtkMenuBar::internal_padding=1
  GtkMenuItem::horizontal_padding=4
  GtkToolbar::internal-padding=1
  GtkToolbar::space-size=1
  GtkOptionMenu::indicator_size=0
  GtkOptionMenu::indicator_spacing=0
  GtkPaned::handle_size=4
  GtkRange::trough_border=0
  GtkRange::stepper_spacing=0
  GtkScale::value_spacing=0
  GtkScrolledWindow::scrollbar_spacing=0
  GtkExpander::expander_size=10
  GtkExpander::expander_spacing=0
  GtkTreeView::vertical-separator=0
  GtkTreeView::horizontal-separator=0
  GtkTreeView::expander-size=12
  GtkTreeView::fixed-height-mode=TRUE
  GtkWidget::focus_padding=0
}
style "compact2"
{
  xthickness=1
  ythickness=1
}
class "GtkButton" style "compact2"
class "GtkToolbar" style "compact2"
class "GtkPaned" style "compact2" 

Add the following line to your start script for eclipse:

export GTK2_RC_FILES=$HOME/.gtkrc.eclipse

Besides fixing the menu size it will also reduce the padding/insets.

Offline

Board footer

Powered by FluxBB