phillbush / xmenu

a x11 menu utility
Other
295 stars 26 forks source link

Reduce the width #47

Closed Ved-un closed 1 year ago

Ved-un commented 1 year ago

Best wishes for good health!

In the drop-down menu (with an arrow) menu is correct

flameshot_162_1

But in the regular menu at the end, for some reason remains this gap (where the arrow)

flameshot_162

phillbush commented 1 year ago

Hi, thanks for reporting the issue. It should be fixed now.

Ved-un commented 1 year ago

Thanks for the correction

It's a little wider than it was.

flameshot_162_2

But I fixed line 902 from 2 to 1.5

itemwidth = item->textw + config.triangle_width + config.horzpadding * 1.5;

and now everything is fine.

flameshot_162_3

phillbush commented 1 year ago

Oh, sorry, I forgot to remove the sum of config.triangle_width on that line. It should be fixed now.

Ved-un commented 1 year ago

Thank you, it's OK now.