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

Name of widget #145

Open
enzod3 opened this issue Feb 3, 2021 · 1 comment
Open

Name of widget #145

enzod3 opened this issue Feb 3, 2021 · 1 comment
Labels

Comments

@enzod3
Copy link

enzod3 commented Feb 3, 2021

https://github.com/VladimirMarkelov/clui/blob/master/demos/demo.gif
Hi I was wondering what the name of the shown "dropdown" widget is

@VladimirMarkelov
Copy link
Owner

Hi,

Here goes a bad news :) The control you saw in one of the demos was in the alpha version of the library. It was a proof of concept, but everything was unstable at that moment. Such kind of controls(there was only ComboBox at that moment - it had a bunch of limitations) made the code ugly and hard-to-manage one. So, I removed "free-positioned" controls and simplified the code a lot to release a stable library with well-working controls.

Implementing controls like ComboBox requires design, as at this moment no control can be drawn outside a parent control. Otherwise, long ComboBox would be cut by its parent border. That was one of limitations of the alpha version. Think of ComboBox at the bottom of a dialog. And it must have extra features, like close on losing focus. E.g, there is similar idea in the issues about PopupMenu. I think it is close to ComboBox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants