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

How to write in a combobox #290

Open
Patrice547 opened this issue Jan 29, 2024 · 3 comments
Open

How to write in a combobox #290

Patrice547 opened this issue Jan 29, 2024 · 3 comments

Comments

@Patrice547
Copy link

Hello to you... I would like to know how to write in a combobox of the MaterialSkin framework? Because standard comboboxes allow us to do so.

@StaticCC
Copy link

StaticCC commented Apr 1, 2024

Do you mean how to add Items into a MaterialSkin ComboBox?
The default ComboBox gives you a multiline text prompt. In MaterialSkin, it's in the "Items" property when you click on the ComboBox.

@G0dang
Copy link

G0dang commented May 21, 2024

Right click on the combobox>edit items. Add items here

@Resch-Said
Copy link

Resch-Said commented Jul 11, 2024

Hey, I was super frustrated with it too.

Theoretically, there are several ways to get around this. You can create your own user control in which you take the textbox, an icon for the dropdown symbol and when you click on the textbox you can display a listbox underneath. With a timer, this can also be animated. Then you can easily type into the text box or select an item directly from the list box.

Alternatively, you could place an additional button next to the textbox and only open the listbox when you press the button. With a little design it can be convenient.

If in doubt, you could use a ComboBox and then place your text box over the ComboBox.

Personally, I find the first one the best, because it works pretty much like a normal ComboBox and the animation is not cut off on focus as it would be if you put a button next to it.

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

4 participants