Results 1 to 9 of 9

Thread: Eclipse tab bar bigger on ubuntu

  1. #1
    Join Date
    Nov 2007
    Beans
    51

    Eclipse tab bar bigger on ubuntu

    Hi,
    This issue has been there for a long time and finally thought of posting it. I use Eclipse IDE for development. The IDE looks nice and pretty on Windows and Mac but for some reason ubuntu it looks HUGE. Pics attached.
    First I thought may be its the theme. So, I played with gtkrc file of the themes I use but no luck. I am wondering what enforces the tab view? for some reason looks like all menu items are being padded.
    I was able to turn down the tree view etc so it looks normal but I am still stuck with large tab and file bar.




  2. #2
    Join Date
    May 2009
    Beans
    3

    Re: Eclipse tab bar bigger on ubuntu

    Hi James

    I had the same problem with the new Ubuntu Lucid... Here's what helped:

    - open a terminal and create a new file in your home directory called .gtkrc-2.0:

    Code:
    gedit ~/.gtkrc-2.0
    - paste the following inside the file:

    Code:
    style "gtkcompact" {
    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=0
    GtkMenuItem::horizontal_padding=4
    GtkToolbar::internal-padding=0
    GtkToolbar::space-size=0
    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
    GtkTreeView::vertical-separator=0
    GtkTreeView::horizontal-separator=0
    GtkTreeView::fixed-height-mode=TRUE
    GtkWidget::focus_padding=0
    }
    class "GtkWidget" style "gtkcompact"
    - restart Eclipse, everything should look small and nice again.

    cheers
    marbot

  3. #3
    Join Date
    Nov 2007
    Beans
    51

    Re: Eclipse tab bar bigger on ubuntu

    Awesome!!
    Thanks a lot for the reply this worked like a charm.
    Now eclipse looks "Normal" and I got the realstate back.

  4. #4
    Join Date
    Aug 2009
    Beans
    2

    Re: Eclipse tab bar bigger on ubuntu

    Awesomeness! Works for me.

  5. #5
    Join Date
    Nov 2009
    Location
    Germany
    Beans
    11
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Eclipse tab bar bigger on ubuntu

    Thank you so much - no need for a individual icon theme This is especially usefull on laptops with a small screen height.

  6. #6
    Join Date
    Apr 2009
    Location
    Beantown
    Beans
    27
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Eclipse tab bar bigger on ubuntu

    The status bar seems unnecessarily tall, too. Is there a solution?

  7. #7
    Join Date
    Jul 2006
    Beans
    1

    Re: Eclipse tab bar bigger on ubuntu

    unfortunately this does not work in kubuntu

  8. #8
    Join Date
    Oct 2010
    Beans
    1

    Re: Eclipse tab bar bigger on ubuntu

    Hi, much easily place this in the .gtkrc-2.0 file

    Code:
    style "compact-toolbar"
    {
    	GtkToolbar::internal-padding = 0
    	xthickness = 1
    	ythickness = 1
    }
    
    style "compact-button"
    {
    	xthickness = 0
    	ythickness = 0
    }
    
    class "GtkToolbar"   				style "compact-toolbar" 
    widget_class "*<GtkToolbar>*<GtkButton>"	style "compact-button"
    Tabs will be smaller.

  9. #9
    Join Date
    Sep 2009
    Beans
    13

    Re: Eclipse tab bar bigger on ubuntu

    Quote Originally Posted by yvsong View Post
    The status bar seems unnecessarily tall, too. Is there a solution?
    I found something here:
    http://ubuntuforums.org/showthread.php?t=1007562

    But it didn't work.
    Perhaps Java doesn't use gnome's settings?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •