VladimirMarkelov/clui

Name of widget

enzod3 opened this issue · 1 comments

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

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.