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

Feature Request: Add horizontal listbox #80

Open
Ali-RS opened this issue May 5, 2019 · 5 comments
Open

Feature Request: Add horizontal listbox #80

Ali-RS opened this issue May 5, 2019 · 5 comments

Comments

@Ali-RS
Copy link
Contributor

Ali-RS commented May 5, 2019

Currently Listbox only supports vertical mode with slider in Y axis, It will be useful to add a horizontal mode with slider in X axis.

@Ali-RS Ali-RS changed the title Feature Request: Add horizontal mode for listbox Feature Request: Add horizontal listbox May 5, 2019
@pspeed42
Copy link
Contributor

pspeed42 commented May 5, 2019

This could mean a lot of different things. Do you mean a single column list box that can have items larger than can be displayed (super hard without proper clipping)? Or do you mean a single row list box that is essentially flipped on its side? Or do you mean a multi-column list box?

...or something else?

@Ali-RS
Copy link
Contributor Author

Ali-RS commented May 5, 2019

Or do you mean a single row list box that is essentially flipped on its side?

Yes, this one.

Edit:
To be crystal clear, I made this quick image :
horizontal-listbox

@Ali-RS
Copy link
Contributor Author

Ali-RS commented May 6, 2019

Regarding a multi-row horizontal listbox,
lisbox-multirow
afaik ListBox uses a grid panel, so this should be possible. So having an option to set number of rows seems to be a very nice feature :)
(The same can be done for a vertical multi-column ListBox )

@Aufricer
Copy link
Contributor

2019-05-30_152705

My lemur changed files can be found in my profile https://github.com/Aufricer/Lemur_Enhancements/tree/master/Export_LemurChanges/src

I have not followed the lemur updates since 2 or 3 months. In case anything else had changed in the relevant files I might not have taken care off it.

As Pspeed has mentioned there are some difficulties.

  • The content of the listbox elements and how to update them, esp. if deleted
  • The size and position of the "selection element"

@Aufricer
Copy link
Contributor

My example also has a "dynamic" slider and an optional multi select of listbox. But for the basic PR, a multi column or multiline and multicolumn listbox the files may give an idea.

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

3 participants