Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-12-25 20:45:05

Apostate
Member
Registered: 2011-12-25
Posts: 8

[Solved] Strange resize button has appeared

Hi I noticed that an ugly resize button has appeared on the bottom right corner of all my windows. How do I make it conform to the themes I use?

Here it is on Pidgin. I am running Xubuntu.

resize.jpg
image hosting jpg

Offline

#2 2011-12-26 03:24:58

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,720

Re: [Solved] Strange resize button has appeared

You can adjust the size of the grip by adding the following code snippet to ~/.gtkrc-2.0:

#window grip size tweak
style "default-style"
{
	GtkWindow::resize-grip-height = 5
	GtkWindow::resize-grip-width = 5
}
class "GtkWidget" style "default-style"

I find the value of 5 is a good comprise between grip visibility and functionality (the smaller the value the harder to grab the corner). The default value for the greybird theme is 13.


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2011-12-26 08:38:05

Apostate
Member
Registered: 2011-12-25
Posts: 8

Re: [Solved] Strange resize button has appeared

Thank you that's worked - makes it look much better.

Is there a guide to the various tweaks to ~/.gtkrc-2.0?

Offline

#4 2011-12-26 15:15:41

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,720

Re: [Solved] Strange resize button has appeared

Here are some links that I've come across:

GTK+2 Reference Manual: http://developer.gnome.org/gtk/stable/index.html
GTK+2 Theming Tutorial: http://live.gnome.org/GnomeArt/Tutorials/GtkThemes

There is also an older forum thread over at ubuntuforums that talks about theming GTK with examples: http://ubuntuforums.org/showthread.php?t=377397


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 524.91 KiB (Peak: 531.28 KiB) ]