
Extra space in widgets
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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.
kimmik
13 years ago
GtkScrolledWindow::scrollbar-spacing = 0
0 is the number of pixels between the scrollbars and the scrolled window
Report
juaka
13 years ago
That helped.
Any idea how to modify the width of the cmobo box entry button?
Report
freakcode
13 years ago
Report
juaka
13 years ago
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?
Report
JoeBishop
13 years ago
Report
juaka
13 years ago
Make this your autoreply to every person that complain about linux.
Would be helpful if you recommend any theme with nice combobox entry??
Report
tomauty
13 years ago
Report
Ademan
13 years ago
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.
Report
juaka
13 years ago
- 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"
Report
juaka
13 years ago
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.
Report
cmost
13 years ago
Report
Ademan
13 years ago
Report