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

Suggestion: Make modal font and text alignment configurable #158

Closed
kgrossjo opened this issue Jan 2, 2017 · 7 comments
Closed

Suggestion: Make modal font and text alignment configurable #158

kgrossjo opened this issue Jan 2, 2017 · 7 comments
Assignees
Milestone

Comments

@kgrossjo
Copy link

kgrossjo commented Jan 2, 2017

  • Version: 2.4 (55)
  • macOS: Sierra 10.12.2

Wouldn't it be nice if the font of the modal was configurable? (I would select a monospaced font so that I can do ASCII graphics.)

Wouldn't it be nice if I could specify left-aligned text (instead of centered text)?

More specifically, my configuration includes a window selector, and I would like to draw a diagram like this:

> blabla
 \--^---/

    My bla bla window
==> Another window with a lot of blah blah <==
    A third window blabla it also matches

The first line has a filter, and the second line is a crude visualization of the cursor (caret), so that users can see where it is.

The last three lines show windows, the middle one is selected as indicated by this crude arrow. And all of this can be achieved just by supporting a monospaced font! :-)

@kasper
Copy link
Owner

kasper commented Jan 3, 2017

Haha, you really seem to push the limits! I’ll see what I can do.

@kgrossjo
Copy link
Author

kgrossjo commented Jan 3, 2017

I confess that I have longed for a way to do little GUI widgets in Phoenix, but oh, well, maybe just faking it with some text will work, as well.

@mafredri
Copy link
Contributor

mafredri commented Jan 3, 2017

I must also confess, I have also experimented with aligning text in the modals, but without a monospaced font, it's quite challenging 😄 .

@kasper kasper added this to the future milestone Jan 22, 2017
@AlexGustafsson
Copy link

Is this feature being considered for any near-future release?

@kasper
Copy link
Owner

kasper commented Jun 8, 2018

@AlexGustafsson Should be relatively simple to do, I’ll try to add it to some near-future release. Thanks for the patience.

@kasper
Copy link
Owner

kasper commented Feb 13, 2022

I added support to configure the font in the modals. I still need to evaluate the alignment part.

@kasper
Copy link
Owner

kasper commented Feb 26, 2022

Support for text alignment has been added.

@kasper kasper closed this as completed Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants