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

    brave-kangaroo-30399

    08/02/2019, 1:56 AM
    Oh hey, at least one haxeui class is significantly different
  • b

    brave-kangaroo-30399

    08/02/2019, 1:59 AM
    @bright-gpu-74537 check these out... I'll make an issue but I'm not sure this is a haxeui issue vs a haxe issue
  • b

    brave-kangaroo-30399

    08/02/2019, 1:59 AM
    Good toolkit.hx
  • b

    brave-kangaroo-30399

    08/02/2019, 1:59 AM
    Bad toolkit.hx
  • b

    bitter-family-72722

    08/02/2019, 9:21 AM
    @brave-kangaroo-30399 you want to use
    dump=pretty
    for Haxe-like dump output
  • b

    bitter-family-72722

    08/02/2019, 9:21 AM
    the default is not very readable
  • b

    bright-gpu-74537

    08/02/2019, 10:51 AM
    so, open question
  • b

    bright-gpu-74537

    08/02/2019, 10:51 AM
    https://community.haxeui.org/t/mapping-typedefs-to-visuals/65/8
  • b

    bright-gpu-74537

    08/02/2019, 10:52 AM
    the last post is using item renderers and typedefs
  • b

    bright-gpu-74537

    08/02/2019, 10:52 AM
    whats the thoughts about arrays
  • b

    bright-gpu-74537

    08/02/2019, 10:52 AM
    things like
    mydata.sub.something.else.here
    are covered
  • b

    bright-gpu-74537

    08/02/2019, 10:52 AM
    you could just create a, say, label called "here" and it would get populated
  • b

    bright-gpu-74537

    08/02/2019, 10:53 AM
    what about if the data contained an array, not sure how best to handle that
  • b

    brave-kangaroo-30399

    08/02/2019, 11:01 AM
    Yeah my dumps are pretty, still has the local ids throwing off the diff
  • b

    bitter-family-72722

    08/02/2019, 11:04 AM
    no they're not
  • b

    bitter-family-72722

    08/02/2019, 11:04 AM
    pretty dumps don't have IDs
  • b

    brave-kangaroo-30399

    08/02/2019, 11:04 AM
    Hm I feel like an array could be any container. ListView would be my goto
  • b

    brave-kangaroo-30399

    08/02/2019, 11:05 AM
    Well I used dump=pretty haxeflag
  • b

    bitter-family-72722

    08/02/2019, 11:06 AM
    how exactly did you specify it?
  • b

    bright-gpu-74537

    08/02/2019, 11:06 AM
    so like
    listview.value = ["1", "2", "3"]
    should work?
  • b

    bitter-family-72722

    08/02/2019, 11:07 AM
    @brave-kangaroo-30399 something must have gone wrong
  • b

    brave-kangaroo-30399

    08/02/2019, 11:07 AM
    -D dump=pretty in the “add some compiler flags” VSC button
  • b

    brave-kangaroo-30399

    08/02/2019, 11:08 AM
    @bright-gpu-74537 I assumed that was correct syntax a while back
  • b

    bitter-family-72722

    08/02/2019, 11:08 AM
    hm, yeah, not sure if that would work
  • b

    bitter-family-72722

    08/02/2019, 11:09 AM
    I think I tend to use
    <haxedef name="dump=pretty" />
    in OpenFL
  • b

    bitter-family-72722

    08/02/2019, 11:09 AM
    that would correspond to
    --haxedef
    on the command line I think
  • b

    brave-kangaroo-30399

    08/02/2019, 11:10 AM
    Oh, I can try that, but the dumps I uploaded have a very obvious diff anyway
  • b

    bright-gpu-74537

    08/02/2019, 11:16 AM
    so can someone explain the problem to me, as im not sure i get it :) Is there something haxeui can do? Or something haxeui shouldnt be doing?
  • b

    brave-kangaroo-30399

    08/02/2019, 12:21 PM
    I have no idea, two compiles with no code changes at all generate different Toolkit.hx
  • b

    brave-kangaroo-30399

    08/02/2019, 12:23 PM
    That doesn’t sound like a HaxeUI problem, unless one of your macros has RNG for generating valid code
1...868788...1687Latest