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

    happy-agent-4114

    03/08/2023, 7:55 PM
    haxelib*
  • h

    happy-agent-4114

    03/08/2023, 7:55 PM
    honestly I'll take it, if it works it works
  • h

    happy-agent-4114

    03/08/2023, 7:56 PM
    I'm assuming the style class isn't a recent addition
  • b

    bright-gpu-74537

    03/08/2023, 7:56 PM
    yeah, ive had issues in the past with haxelib git... which is why i dont use it anymore
  • h

    happy-agent-4114

    03/08/2023, 7:56 PM
    I would manually install but I work on too many different computers daily
  • b

    bright-gpu-74537

    03/08/2023, 7:56 PM
    doubt it, but then if 1.5.0 is the ref then that is mental out of date now
  • h

    happy-agent-4114

    03/08/2023, 7:57 PM
    is there any reason why the haxelib registry doesn't get updates
  • h

    happy-agent-4114

    03/08/2023, 7:57 PM
    or just convenience
  • b

    bright-gpu-74537

    03/08/2023, 7:57 PM
    git clone https://github.com/haxeui/haxeui-core && haxelib dev haxeui-core haxeui-core
  • h

    happy-agent-4114

    03/08/2023, 7:57 PM
    bruh I was manually copying it over the normal installation folder
  • b

    bright-gpu-74537

    03/08/2023, 7:57 PM
    but i dont do that for every lib, just ones i work on
  • h

    happy-agent-4114

    03/08/2023, 7:58 PM
    I forgot
    haxelib dev
    was a thing
  • h

    happy-agent-4114

    03/08/2023, 7:58 PM
    anyway back to speedrunning this bad idea I had
  • b

    bright-gpu-74537

    03/08/2023, 7:59 PM
    hang on, you we downloading the zip and copying it over the top of the haxeui-core/git folder in haxelib dir?
  • b

    bright-gpu-74537

    03/08/2023, 7:59 PM
    couldnt you just do
    haxelib update haxeui-core
  • h

    happy-agent-4114

    03/08/2023, 8:00 PM
    I mean when I wasn't using
    haxeui git
  • h

    happy-agent-4114

    03/08/2023, 8:00 PM
    for some systems I don't have admin on
  • h

    happy-agent-4114

    03/08/2023, 8:00 PM
    also
  • b

    bright-gpu-74537

    03/08/2023, 8:00 PM
    right
  • h

    happy-agent-4114

    03/08/2023, 8:00 PM
    yes
  • h

    happy-agent-4114

    03/08/2023, 8:01 PM
    generally I just do
    haxelib update
    though
  • h

    happy-agent-4114

    03/08/2023, 8:01 PM
    since I probably want all my libs at latest
  • b

    bright-gpu-74537

    03/08/2023, 8:02 PM
    gotcha... haxelib dev might help with non admin rights - at least you can put the lib anywhere, you'd still need to be able to write to the haxelib dir anyway though i think as it pops a file in there to say you are using the dev version
  • h

    happy-agent-4114

    03/08/2023, 8:02 PM
    I'll def play around with it
  • r

    refined-cat-44047

    03/08/2023, 8:19 PM
    I have a
    tableview
    , and am setting the data via Haxe by adding lines with
    myTable.dataSource.add(rowData)
    But I need to change the background colour of individual cells. Is there a way I can do this?
  • b

    bright-gpu-74537

    03/08/2023, 8:31 PM
    http://haxeui.org/builder/?fb7677e0 ?
  • b

    bright-gpu-74537

    03/08/2023, 8:32 PM
    basically, anything that is in the datasource that isnt a component (ie, something with .value) it assume it should set as a property on the itemrenderer
  • r

    refined-cat-44047

    03/08/2023, 8:34 PM
    Oh, that is the mental jump I needed! Very nice. My brain was stuck thinking I was always setting the value of a component. Awesome! Thanks!
  • r

    refined-cat-44047

    03/08/2023, 8:35 PM
    Hmm, I guess I was also thinking it was something to do with adding a style, rather than using the
    backgroundColor
    property! Cheers! 😄
  • b

    bright-gpu-74537

    03/08/2023, 8:36 PM
    you can defo so it with styles too, arguably its better that way
1...158815891590...1687Latest