Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-02-17 18:11:20

computeruser
Member
Registered: 2013-02-17
Posts: 7

panel buttons border

Is it possible to make the Xfce panel buttons ("Application Menu" Button or Action buttons as an example) look like "real" push buttons (with border)?

Offline

#2 2013-02-19 17:32:53

Darktux
Member
From: Portugal
Registered: 2013-01-17
Posts: 57

Re: panel buttons border

Hi,
I believe that is theme defined ...

Offline

#3 2013-02-28 22:26:59

computeruser
Member
Registered: 2013-02-17
Posts: 7

Re: panel buttons border

Hello

Didn't found how, seems not to be possible.

Kind Regards,

Offline

#4 2013-02-28 23:06:05

aljazek
Member
Registered: 2011-04-29
Posts: 13

Re: panel buttons border

Faenza Icon theme looks something like that. I just made a panel to show you:
screenshot-03012013-1209.jpg

Last edited by aljazek (2013-02-28 23:10:34)

Offline

#5 2013-03-17 21:56:17

computeruser
Member
Registered: 2013-02-17
Posts: 7

Re: panel buttons border

Even if a pixmap button is defined for all states, the button is not displayed.
The button is only displayed if the mouse is above.

style "appbutton" {
    engine "pixmap" {
        image {
            function = BOX
            state = NORMAL
            file = "panel/button.png"
            border = {1,1,2,1}
            stretch = TRUE
        }
        image {
            function = BOX
            state = PRELIGHT
            file = "panel/button.png"
            border = {1,1,2,1}
            stretch = TRUE
        }
        image {
            function = BOX
            state = INSENSITIVE
            file = "panel/button.png"
            border = {1,1,2,1}
            stretch = TRUE
        }
        image {
            function = BOX
            state = ACTIVE
            file = "panel/button.png"
            border = {1,1,2,1}
            stretch = TRUE
        }
        image {
            function = BOX
            state = SELECTED
            file = "panel/button.png"
            border = {1,1,2,1}
            stretch = TRUE
        }
    }
}

widget "XfcePanelWindow.PanelItembar.applicationsmenu-*.*" style "appbutton"

How to always display the button ?

Offline

Board footer

Powered by FluxBB