Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-11-26 03:05:23

ExEfSiiIi123
Member
Registered: 2023-11-26
Posts: 9

Reduce Whisker Menu top padding

Is there a way to reduce the top padding of the Whisker Menu? I've tried:

#whiskermenu-window { padding-top: 0; }

However, it seems to have no effect. What I desire is that the padding on top (above the search bar and commands) is equal to the padding on the left side of the search bar. Here is an image:

Screenshot

I am using Linux Mint 21 and Xfce 4.18 (Whisker Menu 2.7.2).

Offline

#2 2023-11-26 03:26:41

JayGursky
Member
Registered: 2023-07-04
Posts: 19

Re: Reduce Whisker Menu top padding

I guess it could be padding not of the menu box, but of the search entry or command buttons.
To check it, try to set Whisker - Properties - Appearance - "Position search entry at bottom" & "Position commands next to search entry".

Offline

#3 2023-11-26 03:37:01

ExEfSiiIi123
Member
Registered: 2023-11-26
Posts: 9

Re: Reduce Whisker Menu top padding

Nope, same result:

Screenshot

Offline

#4 2023-11-26 03:47:40

JayGursky
Member
Registered: 2023-07-04
Posts: 19

Re: Reduce Whisker Menu top padding

I don't have that extra padding (2.8.1 on Arch). Maybe because I'm using a different theme (Adwaita)?
PS. No whisker-related css.

Last edited by JayGursky (2023-11-26 03:48:27)

Offline

#5 2023-11-29 08:51:44

ExEfSiiIi123
Member
Registered: 2023-11-26
Posts: 9

Re: Reduce Whisker Menu top padding

Even after disabling all my custom CSS rules, the large padding is still there. Perhaps Mint's theme applies some of their own CSS somewhere? I'm not too familiar with how these are handled, if it even is the theme's fault.

Offline

#6 2023-11-29 11:54:57

eriefisher
Member
From: ON, Canada
Registered: 2008-10-25
Posts: 415

Re: Reduce Whisker Menu top padding

How and why did you remove you user name, icon and action buttons from the top of the Whisker Menu?


Siduction
Debian Sid
Xfce 4.18

Offline

#7 2023-11-29 11:59:51

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

Re: Reduce Whisker Menu top padding

Do either of these work for you?

#whiskermenu-window>frame>stack { padding-top: 0; }
#whiskermenu-window>frame>stack { padding-top: 0; margin-top: -7px; }

The latter uses negative margins to get the spacing even tighter.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#8 2023-11-30 04:04:02

ExEfSiiIi123
Member
Registered: 2023-11-26
Posts: 9

Re: Reduce Whisker Menu top padding

eriefisher wrote:

How and why did you remove you user name, icon and action buttons from the top of the Whisker Menu?

How: By using the Whisker Menu settings (Properties -> Appearance -> "Position search entry next to panel button" and "Position commands next to search entry"). I only hid the user name as I have no need for it in the menu (Properties -> Appearance -> "Profile: Hidden").
Why: Personal preference, are there any other reasons?

ToZ wrote:
#whiskermenu-window>frame>stack { padding-top: 0; margin-top: -7px; }

This one works, but causes the inability to resize the Whisker Menu vertically. That doesn't bother me though as I have it the size I want already. Thank you for the help!

Last edited by ExEfSiiIi123 (2023-11-30 04:05:06)

Offline

#9 2023-11-30 06:10:28

ExEfSiiIi123
Member
Registered: 2023-11-26
Posts: 9

Re: Reduce Whisker Menu top padding

As a side note, I figured out what causes the extra padding: it's when Properties -> Appearance -> "Position categories next to panel button" is unchecked. When checked, the padding is normal. Is this a bug?

Last edited by ExEfSiiIi123 (2023-11-30 06:19:15)

Offline

Board footer

Powered by FluxBB