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

widgets to add to Nottui_widgets #5

Open
c-cube opened this issue Mar 10, 2020 · 0 comments
Open

widgets to add to Nottui_widgets #5

c-cube opened this issue Mar 10, 2020 · 0 comments

Comments

@c-cube
Copy link
Contributor

c-cube commented Mar 10, 2020

Here are some things I think would be convenient for a lot of UIs. I can contribute some of them if needed :).

I also think that Nottui_widget should just be a module in nottui, there's not much point having one without the other imho.

  • basic layout:
    • join_x_list ( reexpose Nottui.Ui.hcat?)
    • pack_x_list (on lists of ui Lwd.t, more convenient than manually using the monoid)
  • buttons
  • line-wrapped text
  • itemized lists (the equivalent of <ul> <li>…</li><li>…)
  • grids/tables (with padding options, etc.)
  • tree with fold/unfold button at each node (and content lazily loaded)
  • progress bar, progress animations (like a \ | / - animation, or something)
  • scroll area as big as possible
  • modal dialog (about/help/confirmation of action)
  • dropdown list selection
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

No branches or pull requests

1 participant