remove border around buttons

Hi all,

I’m having some problems with switching from pixmaps to vectors for my titlebar buttons. If I use pixmaps, the icons on the titlebar look fine, however if I use vectors, I get this annoying border around the icons. E.g.

[code]…

  • AddButtonStyle 2 ActiveUp (Pixmap max1_on.png)
    ActiveDown (Pixmap max1_press.png)
    InActive (Pixmap max1_off.png)
    …[/code]
    produces this:

and

[code]…

  • AddButtonStyle 2 ActiveUp VGradient 18 2 rgb:85/9f/c7 17 rgb:54/6f/90 1 black
  • AddButtonStyle 2 ActiveDown VGradient 18 2 rgb:54/6f/90 17 rgb:85/9f/c7 1 black
  • AddButtonStyle 2 InActive VGradient 18 2 rgb:ef/ef/ef 17 rgb:c8/c7/c8 1 black
  • AddButtonStyle 2 ActiveUp Vector 21 80x20@3 80x80@3 20x80@3 20x20@3 79x20@3 79x21@3 21x21@3 21x22@3 79x22@3 79x23@3 21x23@3 21x24@3 79x24@3 79x25@3 21x25@3 21x26@3 79x26@3 79x27@3 21x27@3 21x28@3 79x28@3 – Flat
  • AddButtonStyle 2 ActiveDown Vector 21 80x20@3 80x80@3 20x80@3 20x20@3 79x20@3 79x21@3 21x21@3 21x22@3 79x22@3 79x23@3 21x23@3 21x24@3 79x24@3 79x25@3 21x25@3 21x26@3 79x26@3 79x27@3 21x27@3 21x28@3 79x28@3 – Flat
  • AddButtonStyle 2 Inactive Vector 21 80x20@3 80x80@3 20x80@3 20x20@3 79x20@3 79x21@3 21x21@3 21x22@3 79x22@3 79x23@3 21x23@3 21x24@3 79x24@3 79x25@3 21x25@3 21x26@3 79x26@3 79x27@3 21x27@3 21x28@3 79x28@3 – Flat
    …[/code]
    produces this:

Anyone have any ideas what I’m doing wrong here? If any more sections of either .fvwm2rc are required, please let me know.

Regards,

Rob

Well, I’ve managed to get it to work now. After examining THE TEMPLATE, I placed the “Style *” lines (which had previously been below the AddStyle and ButtonStyle settings to a location above the AddStyle and ButtonStyle settings in my .fvwm2rc and the black lines no longer appear.

:slight_smile:

Rob