Skip to content
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

Add horizontal alignment and improve center alignment #209

Merged
merged 4 commits into from
Nov 3, 2021

Conversation

llunacb
Copy link
Contributor

@llunacb llunacb commented Oct 17, 2021

Adds a--margin option which can be used to set the empty space on the left and right of the menu. Also makes the behavior of --center more predictable and work on both x11 and wayland. Related to the discussion in #194.

-M or --margin option sets the horizontal margin of the window
single enum determines if the menu is at the top, in the center,
or at the bottom. implemented in wayland and x11 renderers.
@Cloudef
Copy link
Owner

Cloudef commented Nov 3, 2021

Thanks, one thing I'm starting to be concerned is the pollution of single character options, we may want to keep advanced options as a long options only.

@Cloudef Cloudef merged commit cd41b1b into Cloudef:master Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants