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

horizontal buttons for unique list item selecting #139

Open
laurentopia opened this issue Feb 10, 2025 · 5 comments
Open

horizontal buttons for unique list item selecting #139

laurentopia opened this issue Feb 10, 2025 · 5 comments
Labels
enhancement New feature or request

Comments

@laurentopia
Copy link

I thought I saw that in the early days, might have mixed with something else.

@TylerTemp
Copy link
Owner

TylerTemp commented Feb 11, 2025

Hi

EnumFlags shows it in vertical when expand, horizontal when foldout. ATM no attributes do only horizental

@laurentopia
Copy link
Author

laurentopia commented Feb 12, 2025

like this but for enum and not flags (one choice only):
Image

@TylerTemp
Copy link
Owner

How about advanceddropdown

[Serializable]
public enum MyEnum
{
    [RichLabel("1")]  // RichLabel is optional. Just for you to have more fancy control
    First,
    [RichLabel("2")]
    Second,
    [RichLabel("3")]
    Third,
    [RichLabel("4/0")]
    ForthZero,
    [RichLabel("4/1")]
    ForthOne,
}

[AdvancedDropdown] public MyEnum myEnumAdvancedDropdown;

image

@laurentopia
Copy link
Author

It's nice but I'm looking to minimize the number of clicks and more importantnly to float to level 0 of the UI information that's burried in popups

@TylerTemp
Copy link
Owner

This is more like a list unique item selector rather than a enum selector.

I'll consider it but it'll not be a high-priority feature

@TylerTemp TylerTemp changed the title is there an attrib to turn an enum into horizontal-layout buttons? horizontal buttons for unique list item selecting Feb 16, 2025
@TylerTemp TylerTemp added the enhancement New feature or request label Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants