-
-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spacing in single-line mode #113
Comments
IIRC when drawing boxes there is also "margin" supplied in, so the Do you want me to apply the above diff manually? Or will you do a PR? |
I was just wondering because the above patch seems more complicated than necessary. I would expect
Currently the arrows are not taken into account. I can make a PR later. |
I was just wondering because the above patch seems more complicated than necessary. I would expect
It could be the draw_line function is buggy.
…On Wed, 22 Apr 2020, 3.00 Tuomas Siipola, ***@***.***> wrote:
IIRC when drawing boxes there is also "margin" supplied in, so the box.lx
should be fine.
I was just wondering because the above patch seems more complicated than
necessary. I would expect hpadding, hpadding, vpadding, vpadding (or
original hpadding, 2*hpadding, vpadding, vpadding) to center the text.
Do you want me to apply the above diff manually? Or will you do a PR?
Currently the arrows are not taken into account. I can make a PR later.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#113 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADVISVT7MCMLJDSM6O3VETRNXNKFANCNFSM4MMLVIZA>
.
|
Is there any progress on this? |
If the patch works as it is then can I make a PR? |
I think that spacing between items in single-line mode is too small. For example, using text "hello world" the space between "o" and "w" is larger than the space between items:
This makes it hard to see where the item starts and stops. I suggest that either:
dmenu
, orbemenu -H
.Also, the text not centered horizontally (apparent when using a background color):
Here's a quick fix for these issues:
It seems that
box.lx
is applied both in the rectangle and text positions. Is this a bug?The text was updated successfully, but these errors were encountered: