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

SelectBox not working within a Dialog #110

Closed
fglass opened this issue Jul 30, 2019 · 1 comment
Closed

SelectBox not working within a Dialog #110

fglass opened this issue Jul 30, 2019 · 1 comment
Assignees

Comments

@fglass
Copy link
Collaborator

fglass commented Jul 30, 2019

If the SelectBox option lies outside the bounds of the Dialog, it cannot be clicked. If within bounds, it can be clicked but the value of the SelectBox does not change. In both cases, no SelectBoxChangeSelectionEvent is triggered.

Example code:

val dialog = Dialog(260f, 70f)
val dropdown = SelectBox<String>(20f, 20f, 80f, 15f)
dropdown.addElement("1")
dropdown.addElement("2")
dropdown.addElement("3")
dialog.container.add(dropdown)
dialog.show(frame)
@SpinyOwl SpinyOwl self-assigned this Jul 30, 2019
SpinyOwl added a commit that referenced this issue Jul 30, 2019
SpinyOwl pushed a commit that referenced this issue Jul 31, 2019
@SpinyOwl
Copy link
Owner

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants