SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-12-18 03:27:58

autodidactic
New Member
Registered: 2013-12-17
Posts: 8

Add extra padding on OpenBox menu?

This is really not that big of a deal but I was  wondering if anybody knew of a way to add padding to the OB menu. I've read through the documentation and there isn't a way through the config file. Would it be possible maybe via gtkrc?

Offline

Be excellent to each other!

#2 2013-12-18 03:38:07

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Add extra padding on OpenBox menu?

Offline

#3 2013-12-18 05:51:58

autodidactic
New Member
Registered: 2013-12-17
Posts: 8

Re: Add extra padding on OpenBox menu?

As I already stated in my original post, I've already checked the docs and padding.width doesn't work. Not surprising since the docs say that padding.width specifically applies to window decorations and not menus.

Last edited by autodidactic (2013-12-18 05:55:31)

Offline

#4 2013-12-18 07:01:56

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Add extra padding on OpenBox menu?

Sorry about that - I misread your post. I'm pretty sure there's a way, because I think I've done it in the past. I'll check through some of my old themes later.

Offline

#5 2013-12-18 07:43:41

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Add extra padding on OpenBox menu?

OK, back home at my own machine now... There is a workaround to get what you want, but I can only see it working without gradients. Set the menu.items.bg.color and menu.border.color to the same value, then set menu.border.width

Apologies if I came across a bit patronising earlier sad My excuse is it was at the end of a long nightshift, and I should read a bit more carefully before posting smile

Offline

#6 2013-12-18 11:37:20

autodidactic
New Member
Registered: 2013-12-17
Posts: 8

Re: Add extra padding on OpenBox menu?

Offline

#7 2013-12-18 18:52:21

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,572

Re: Add extra padding on OpenBox menu?

You should be able to change the menu highlight color to match the menu frame and border, then have the text change color/style when highlighted.


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#8 2013-12-18 19:20:20

iann
#! Die Hard
Registered: 2010-09-10
Posts: 720

Re: Add extra padding on OpenBox menu?

Offline

#9 2013-12-18 19:58:11

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Add extra padding on OpenBox menu?

Or patch the OB source code?

Offline

#10 2013-12-18 21:02:44

autodidactic
New Member
Registered: 2013-12-17
Posts: 8

Re: Add extra padding on OpenBox menu?

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo