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

    happy-agent-4114

    03/15/2023, 9:07 PM
    This is exactly what i was looking for
  • h

    happy-agent-4114

    03/15/2023, 9:07 PM
    Thank you
  • h

    happy-agent-4114

    03/15/2023, 9:09 PM
    I was mostly using it as a prop since I'm not 100% sure how many of the elements have their own text field and how many use composites of others
  • b

    bright-gpu-74537

    03/15/2023, 9:16 PM
    thats fair, but just and fyi, if there is text displayed in haxeui its always via label component... there are two exceptions: textfield and textarea (ie, text inputs rather than text display)
  • h

    happy-agent-4114

    03/15/2023, 9:33 PM
    Oh nice
  • h

    happy-agent-4114

    03/16/2023, 4:26 PM
    is there documentation somewhere of how module.xml works
  • h

    happy-agent-4114

    03/16/2023, 4:27 PM
    I did a little searching but I couldn't find anything particularly useful
  • h

    happy-agent-4114

    03/16/2023, 4:30 PM
    never mind lol I found it
  • h

    happy-agent-4114

    03/16/2023, 4:30 PM
    I was searching
    haxe module.xml
    instead of
    haxe "module.xml"
    which gives vastly different results
  • b

    bright-gpu-74537

    03/16/2023, 4:32 PM
    there is also this: http://haxeui.org/api/guides/modules.html
  • b

    bright-gpu-74537

    03/16/2023, 4:32 PM
    and this talks about modules a little: http://haxeui.org/api/guides/custom-components.html
  • h

    happy-agent-4114

    03/16/2023, 4:34 PM
    ...I feel like something is missing here
  • h

    happy-agent-4114

    03/16/2023, 4:34 PM
    this is actually the first result on google for
    haxe "module.xml"
  • b

    bright-gpu-74537

    03/16/2023, 4:34 PM
    yeah, there is a bunch of empty guides currently
  • b

    bright-gpu-74537

    03/16/2023, 4:34 PM
    those sections on the website are driven by the GH repro
  • h

    happy-agent-4114

    03/16/2023, 4:34 PM
    Ah that makes sense
  • h

    happy-agent-4114

    03/16/2023, 4:35 PM
    is there documentation on how theming works somewhere else then or are you the documentation
  • b

    bright-gpu-74537

    03/16/2023, 4:35 PM
    there isnt anything official (or unofficial either i guess)... there is a style section that yoplala PR'd
  • h

    happy-agent-4114

    03/16/2023, 4:36 PM
    I would probably end up writing my own css anyway lol
  • b

    bright-gpu-74537

    03/16/2023, 4:36 PM
    a theme is really just a bunch of css anyway... nothing more to it essentially
  • h

    happy-agent-4114

    03/16/2023, 4:40 PM
    Speaking of css this doesn't actually change the font when you enter text in textfields
  • h

    happy-agent-4114

    03/16/2023, 4:43 PM
    never mind I literally did nothing and it does now??
  • h

    happy-agent-4114

    03/16/2023, 4:43 PM
    I love programming (i am taking years off of my lifespan)
  • a

    ambitious-knife-25690

    03/16/2023, 9:39 PM
    who said it is logic driven
  • i

    icy-zebra-52882

    03/17/2023, 8:33 AM
    hiya, I think in haxeui-hxwidgets, setting a dropdown's
    selectedIndex
    via code still won't call its
    onChange
    event
  • i

    icy-zebra-52882

    03/17/2023, 8:35 AM
    https://plzlookat.mystupid.pictures/Discord_x2TnIa3hKh.webm
  • i

    icy-zebra-52882

    03/17/2023, 8:35 AM
    it correctly sets the dropdown value though
  • b

    bright-gpu-74537

    03/17/2023, 11:01 AM
    any chance for a minimal repro? It might be because technically the selectedIndex is still 0? Ie, it hasnt actually changed
  • i

    icy-zebra-52882

    03/17/2023, 11:06 AM
    is selectedIndex already 0 before it gets changed though? if it doesn't have any dataSource data already in it, or if it's disabled?
  • i

    icy-zebra-52882

    03/17/2023, 11:07 AM
    if I set it to -1 it selects nothing, kind of forcing you to change it manually and trigger the onChange
1...159916001601...1687Latest