Zren / material-decoration

Material-ish window decoration theme for KWin, with LIM, based on zzag's original design.
GNU General Public License v2.0
197 stars 17 forks source link

Option to adjust space between menu items #19

Closed gustawho closed 2 years ago

gustawho commented 3 years ago

I understand some concessions have to be made in order to keep the appmenu module functional, but if #16 is implemented, it'd be nice to add an option to configure the space between menu items.

emvaized commented 3 years ago

@Zren Any updates on this? I think menu bar in current version looks too crowded, and sometimes it becomes hard to aim for the specific button: 2021-03-23_02-05

Zren commented 3 years ago

In the short term, you can edit Decoration::appMenuButtonHorzPadding().

https://github.com/Zren/material-decoration/blob/master/src/Decoration.cc#L640

emvaized commented 3 years ago

In the short term, you can edit Decoration::appMenuButtonHorzPadding().

https://github.com/Zren/material-decoration/blob/master/src/Decoration.cc#L640

Thanks! I will try it out

tassiovirginio commented 2 years ago

This functionality is already in the configuration window?

Zren commented 2 years ago

@tassiovirginio It's available in the dev branch. I should probably merge that into the master branch since it has other fixes. There's a bit of refactoring in hopes of adding wayland support mixed in as well but it shouldn't be a problem.