Extra space in widgets

Various Gnome Stuff

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Available as/for:
Description:
A person already posted about the scroll bar spacing,
http://www.gnome-look.org/content/show.php/Better+scrolls+in+GTK?content=48820
but what about the button in combo box entry and normal buttons?

There are a few pixels (wide or height) that can be saved! Gnome platform can improve the looks and be more confortable.

The screenshot is a comparisson of buttons, scroll bars and combo box.

If you cant tell the differences, watch the screenshot in the download.

Ratings & Comments

12 Comments

kimmik

Add this line to the gtkrc: GtkScrolledWindow::scrollbar-spacing = 0 0 is the number of pixels between the scrollbars and the scrolled window

juaka

Thanks :) That helped. Any idea how to modify the width of the cmobo box entry button?

freakcode

Button padding 0 only on the combobox widget should do the trick.

juaka

Hey fk, Im not expert in gtkrc. I tried GtkComboBox::padding = 0, GtkComboBox::padding = {0,0,0,0}, GtkComboBox.GtkButton::padding = 0, But none of this worked :s Can you give the exact line plz?

JoeBishop

lol, you are not an expert, but give some stupid suggestions. About stock icons (they rocks, the size depend on the theme), about combo box (it also depends on the theme), about scroll bars (it depends on the engine). And your suggestions make gtk widgets look like windows one. You better return to the windows, with their microwidgets and tasteless glossy colors.

juaka

"You better return to the windows" Make this your autoreply to every person that complain about linux. Would be helpful if you recommend any theme with nice combobox entry??

tomauty

Anything working to save space in gnome is a thumbs up in my book.

Ademan

Cool, good to see you're addressing those complaints, a couple comments though, first of all there's ALOT of wasted space around the horizontal separator, which I think would produce more benefits. Second the button on the button on the list entry box got squished and I don't think it looks as good that way. Finally I think the biggest complaints are the oversized buttons, i'd love to see if you could get those smaller too. (in the second screenshot you can tell the font of the list entry is smaller, but then there's alot of wasted space vertically) Anywho good job, lets see some more.

juaka

It was on purpose to leave that space in the horizontal separator (to separate the table and the combo). I squished the button in the combo to look like the Qt combo (watch the plastyk style, imagine it is editable. http://doc.trolltech.com/4.0/qcombobox.html#details ) Yeah, the buttons are too big in Gnome, because its like a standard to put stock icons on them (i.e. save button have a disquete, cancel have an x, open have a folder, ok and accept have a tick, ...) I forgot to compare the buttons when i took the screenshtos. If you are tired of that big buttons, you can disable the stockicons on the buttons by adding this line in your theme gtkrc. gtk-button-images = 0 For exmaple if you want to modify Human theme (ubuntu default) sudo gedit /usr/share/themes/Human/gtk-2.0/gtkrc paste the line below the comments. The problem is that firefox dont recognize that option. Gnome has an app to configure menus and toolbar icons. That app can be extended to configure the stockicons on the buttons, maybe by size and on/off.

juaka

If you want your buttons smaller conserving the icons, - append this setting to your theme gtk-icon-sizes = "<otherSettings>:gtk-button=16,16" - in case that line does not appear in the theme, paste it at the top gtk-icon-sizes = "gtk-button=16,16"

cmost

I literally cannot tell the difference between the two screenshots. You guys must be really anal-retentive.

Ademan

There have been alot of complaints about Gtk+'s alleged wasting of space, also you could have said "i don't see the point" without being a dick...

Pling
0 Affiliates
Details
license
version 2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

More Various Gnome Stuff from juaka:

visto gnome main menu
juaka
last update date: 17 years ago

Score 5.0

Other Various Gnome Stuff:

Karuna OS Logo
JCL
last update date: 18 years ago

Score 5.0

Ubuntu for Sony Ericsson z520i
microscopuce
last update date: 18 years ago

Score 5.0

Ubuntu Studio for SE z520i
microscopuce
last update date: 18 years ago

Score 5.0

Ubuntu Humunity
noobilus
last update date: 14 years ago

Score 6.1

VDesk - Visual Desktop
AnthonyAMC
last update date: 13 years ago

Score 5.5

Youtube search function for gnome shell
rivetrik
last update date: 13 years ago

Score 5.0