Xfce Panels - Change autohide delay?

I'm trying to set a panel up for a small touch screen and I have a shortcut which toggles autohide, enabling autohide makes it appear, but on disabling autohide there's a short delay which is annoying.

Using Xfce4 panels, there is no way I can find within the GUI of changing the autohide delay. Are there any configuration files etc I could edit to achieve this?


Solution 1:

A bit of Googling returns this:

Add this to ~/.gtkrc-2.0.

 style "xfce-panel-window-style"
 {
   # Time in miliseconds before the panel will unhide on an enter event
   XfcePanelWindow::popup-delay = 225

   # Time in miliseconds before the panel will hide on a leave event
   XfcePanelWindow::popdown-delay = 350
 }
 class "XfcePanelWindow" style "xfce-panel-window-style"

Sources: Xfce Docs: Theming, ArchLinux Wiki: Xfce#Panel Autohide Delay