https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • a

    ambitious-knife-25690

    05/20/2023, 2:18 PM
    I would just call it what it is - like "ComboBox"
  • b

    bright-gpu-74537

    05/20/2023, 2:18 PM
    i just dont like dropdown tbh
  • a

    ambitious-knife-25690

    05/20/2023, 2:18 PM
    I wouldn't tack on the dropdown
  • b

    bright-gpu-74537

    05/20/2023, 2:19 PM
    whats "wrong" with "ItemSelector"?
  • b

    bright-gpu-74537

    05/20/2023, 2:19 PM
    MenuItemSelector, ListItemSelector (could alias it as DropDown eventually), etc
  • a

    ambitious-knife-25690

    05/20/2023, 2:20 PM
    selector i think of these:

    https://cdn.discordapp.com/attachments/565569107701923852/1109485881275985970/image.png▾

  • b

    bright-gpu-74537

    05/20/2023, 2:20 PM
    eg:
    Copy code
    xml
            <item-selector width="150" itemSelectionEvent="menuselected">
                <menu>
                    <menu-item text="Item 1" />
                    <menu-item text="Item 2" />
                    <menu-item text="Item 3" />
                    <menu-separator />
                    <menu text="Menu A">
                        <menu-item text="Item 1A" />
                        <menu-item text="Item 2A" />
                        <menu-item text="Item 3A" />
                    </menu>
                    <menu-separator />
                    <menu-item text="Item 4" />
                    <menu-item text="Item 5" />
                    <menu-item text="Item 6" />
                </menu>
            </item-selector>
  • b

    bright-gpu-74537

    05/20/2023, 2:21 PM
    you mean lists?
  • a

    ambitious-knife-25690

    05/20/2023, 2:21 PM
    i mean the behaviour to expect from using the component
  • a

    ambitious-knife-25690

    05/20/2023, 2:21 PM
    a selector != a drop down
  • b

    bright-gpu-74537

    05/20/2023, 2:21 PM
    picker?
  • b

    bright-gpu-74537

    05/20/2023, 2:21 PM
    ItemPicker?
  • a

    ambitious-knife-25690

    05/20/2023, 2:22 PM
    A picker i think is more "free form", a drop down is typically a vertical list box that expands from a source component and you select it
  • b

    bright-gpu-74537

    05/20/2023, 2:24 PM
    the reason im kinda trying to avoid "dropdown" is because of that, because on mobile (or with a flag), i can change all the behaviours of the "pickers" (or whatever)
  • b

    bright-gpu-74537

    05/20/2023, 2:24 PM
    ie, they can show a dialog, or slide the "panel" up from the bottom, etc, etc
  • a

    ambitious-knife-25690

    05/20/2023, 2:24 PM
    then i think this is a case of going against convention, i guess
  • b

    bright-gpu-74537

    05/20/2023, 2:25 PM
    like "TimePicker" can show times in a dropdown, or, on mobile, could show a panel in the bottom with the screen with the same controls to pick a time
  • b

    bright-gpu-74537

    05/20/2023, 2:25 PM
    im starting to feel like "picker" feels like the best option?
  • a

    ambitious-knife-25690

    05/20/2023, 2:25 PM
    because i don't think it is "tech culturally" intuitive to group these behaviours under a single umbrella
  • b

    bright-gpu-74537

    05/20/2023, 2:26 PM
    ListItemPicker, TimePicker, DatePicker, ColourPicker, etc... arent they grouped?
  • a

    ambitious-knife-25690

    05/20/2023, 2:26 PM
    Picker may be the best option i think with that route
  • b

    bright-gpu-74537

    05/20/2023, 2:27 PM
    they all involve the user "picking" something... no?
  • a

    ambitious-knife-25690

    05/20/2023, 2:27 PM
    Well it would get weird if you set that standard and then get to "DropDownPicker" 😄
  • b

    bright-gpu-74537

    05/20/2023, 2:27 PM
    but it wouldnt be dropdown picker... it would be "ListItemPicker"
  • a

    ambitious-knife-25690

    05/20/2023, 2:27 PM
    Ohh i see
  • a

    ambitious-knife-25690

    05/20/2023, 2:28 PM
    possible side effect there may be people asking how to do a dropdown and miss that association
  • b

    bright-gpu-74537

    05/20/2023, 2:28 PM
    ie, "what are picking"
  • a

    ambitious-knife-25690

    05/20/2023, 2:28 PM
    but I do agree here
  • a

    ambitious-knife-25690

    05/20/2023, 2:28 PM
    it's just not the conventional description
  • b

    bright-gpu-74537

    05/20/2023, 2:28 PM
    i could certainly alias, "typedef DropDown = ListItemPicker"
1...167916801681...1687Latest