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

    refined-cat-44047

    03/08/2023, 8:36 PM
    hmm, true
  • b

    bright-gpu-74537

    03/08/2023, 8:37 PM
    http://haxeui.org/builder/?c6f86ad2
  • r

    refined-cat-44047

    03/08/2023, 8:37 PM
    oh awesome!
  • r

    refined-cat-44047

    03/08/2023, 8:38 PM
    oh actually, that is setting the entire rows background, but can I style just a cell? Or would I need a sub container or something?
  • b

    bright-gpu-74537

    03/08/2023, 8:38 PM
    follows the same concept, except now were setting the item renderer styleNames rather than backgroundColor
  • b

    bright-gpu-74537

    03/08/2023, 8:39 PM
    hmmm.... ish...
  • b

    bright-gpu-74537

    03/08/2023, 8:39 PM
    http://haxeui.org/builder/?f760fb1e
  • r

    refined-cat-44047

    03/08/2023, 8:40 PM
    I guess I am asking it is possible to set a property on colB via the datasource
  • b

    bright-gpu-74537

    03/08/2023, 8:40 PM
    but i dont like it... ill see about adding an id to the sub item renderer so you can access it directly... maybe it already exists, lemme check the code
  • r

    refined-cat-44047

    03/08/2023, 8:40 PM
    oh
  • b

    bright-gpu-74537

    03/08/2023, 8:58 PM
    so i think this is really you only option: http://haxeui.org/builder/?4b8beb01
  • b

    bright-gpu-74537

    03/08/2023, 8:59 PM
    note, ive made a change to core (just now) so that you can address a column item renderer directly, ie,
    #colBRenderer
  • b

    bright-gpu-74537

    03/08/2023, 8:59 PM
    so you'll need to update for that link to work locally
  • r

    refined-cat-44047

    03/08/2023, 9:00 PM
    oh dude! That is fantastic!
  • b

    bright-gpu-74537

    03/08/2023, 9:00 PM
    if you want total control, you can always just create a totally custom item renderer
  • r

    refined-cat-44047

    03/08/2023, 9:01 PM
    hmm, true. This does seem exactly what I need though! Thanks for jumping into that! Amazing!
  • b

    bright-gpu-74537

    03/08/2023, 9:20 PM
    fyi, heres another version that correctly responds to hover / selection, etc: http://haxeui.org/builder/?746c88db
  • b

    bright-gpu-74537

    03/08/2023, 9:20 PM
    (note i had to make another small change here to tableview in core, so you'll need to update again 🙂 )
  • r

    refined-cat-44047

    03/08/2023, 9:29 PM
    oh awesome! Cheers! 🙂
  • h

    happy-agent-4114

    03/09/2023, 12:13 AM
    so speaking of this lol
  • h

    happy-agent-4114

    03/09/2023, 12:15 AM
    that really shouldn't have an error since it only runs inside a macro, I'm not sure what's going on there
  • h

    happy-agent-4114

    03/09/2023, 12:41 AM
    It works if i comment out that one line
  • h

    happy-agent-4114

    03/09/2023, 1:47 AM
    Two lines* the one below it depends on it
  • h

    happy-agent-4114

    03/09/2023, 3:21 AM
    never mind lol apparently that makes it so I can't put space characters in text fields or text areas
  • b

    bright-gpu-74537

    03/09/2023, 8:08 AM
    > can't put space characters in text fields or text areas what do you mean?
  • h

    happy-agent-4114

    03/09/2023, 8:17 AM
    like if I have a text field and I type
    abc def
    it just gets the text
    abcdef
  • b

    bright-gpu-74537

    03/09/2023, 8:18 AM
    what backend, do you have an example repro?
  • h

    happy-agent-4114

    03/09/2023, 8:18 AM
    it's the template for haxeui-flixel
  • c

    cool-musician-79004

    03/09/2023, 8:18 AM
    Is anyone using haxe-ui in a multi output compilation scenario? Does it get too messy?
  • h

    happy-agent-4114

    03/09/2023, 8:19 AM
    it works fine for me, I usually just use #if to set platform specifics
1...158915901591...1687Latest