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

    bright-gpu-74537

    08/12/2019, 9:59 AM
    honestly, i havent got a clue... i didnt write the heaps backend and i think i only ran it once... ages and ages ago
  • b

    bright-gpu-74537

    08/12/2019, 9:59 AM
    im not really sure of the state at this stage, i feel like the author might have stopped haxe / haxeui dev (not 100% sure) so i sure ill need to pick that up at some point
  • h

    handsome-television-62908

    08/12/2019, 10:02 AM
    Oh gotcha, that's okay! Well then, no worries haha. I'm just looking to get HaxeUI + MVCoconut working together with some sort of native back-end instead of it being browser based. I couldn't use NME or Openfl because their build-tools don't communicate properly and I don't even know about kha, but I imagine it's gotta be nearly exactly the same issue. My last shot was Heaps, and that's where I am haha
  • b

    bright-gpu-74537

    08/12/2019, 10:08 AM
    can you expand on why you couldnt use openfl, nme, etc?
  • h

    handsome-television-62908

    08/12/2019, 10:10 AM
    Poorly worded on my part, but it's not because of HaxeUI as much as it is MVCoconut's fault
  • h

    handsome-television-62908

    08/12/2019, 10:10 AM
    due to its dependencies that is
  • h

    handsome-television-62908

    08/12/2019, 10:11 AM
    Essentially, I am unable to use NME/Openfl because the whole
    haxelib run nme test ....
    or
    haxelib run lime test ....
    will not actually respect lix's libraries (to my experience)
  • b

    bright-gpu-74537

    08/12/2019, 10:15 AM
    ah, right, i see
  • b

    bright-gpu-74537

    08/12/2019, 10:15 AM
    so basically, you cant use lix with openfl / nme?
  • h

    handsome-television-62908

    08/12/2019, 10:23 AM
    I have a feeling I'm supposed to be "able" to use it, but I certainly haven't managed a setup with it - not even a basic one. I left a message in their Gitter to see if they can help, since I'm confident it's a lix/MVCoconut thing
  • l

    loud-salesclerk-7438

    08/12/2019, 10:39 AM
    @bright-gpu-74537 Haxe 3 compilation works with latest git versions...
  • l

    loud-salesclerk-7438

    08/12/2019, 10:39 AM
    I still have to figure out how to set item renderers and datasource from code for new TableView component. It works when putting everything in XML, but my attempts at setting dynamic columns and data have failed - I'm probably doing something fundamentally wrong...
  • b

    bright-gpu-74537

    08/12/2019, 10:40 AM
    right... is that another issue? Or if the code is small, paste here... maybe i can take a look at it later tonight...
  • b

    bright-gpu-74537

    08/12/2019, 10:40 AM
    If it works from xml, then it certainly will work from code... maybe there is some order of things that are needed, but generally that isnt the case with haxeui
  • l

    loud-salesclerk-7438

    08/12/2019, 10:42 AM
    I haven't updated my demo (https://github.com/AlexHaxe/haxeui-tableview-demo) with my latest attempts, but that's basically how I'm trying to use HaxeUI.
  • b

    bright-gpu-74537

    08/12/2019, 10:49 AM
    ok, so going through it now... first things first:
  • b

    bright-gpu-74537

    08/12/2019, 10:49 AM
    var label:Label = new Label();
  • b

    bright-gpu-74537

    08/12/2019, 10:49 AM
    that should be "Column"
  • b

    bright-gpu-74537

    08/12/2019, 10:54 AM
    the rest looks like it should work to be honest... ill have a play and see whats wrong, but doesnt look like the code is doing anything that jumps out as wrong
  • b

    bright-gpu-74537

    08/12/2019, 11:11 AM
    weird, i transplanted most of your code and it seemed fine... there are some differences, but mainly because i just didnt bring over all of it... nothing major...
  • b

    bright-gpu-74537

    08/12/2019, 11:11 AM
    ill let you know when i find something
  • l

    loud-salesclerk-7438

    08/12/2019, 11:31 AM
    maybe I need to revert local changes and restart with my sample code... I'm using Columns in my local version, and when I run it I can see rows (they react/change color on hover), but they are empty. So I guess I messed up my item renderer somehow.
  • b

    bright-gpu-74537

    08/12/2019, 11:36 AM
    i think ive found part of the issue
  • b

    bright-gpu-74537

    08/12/2019, 11:36 AM
    seems the header needs to be added after you add the columns to it...
  • b

    bright-gpu-74537

    08/12/2019, 11:36 AM
    which i dont like
  • b

    bright-gpu-74537

    08/12/2019, 11:36 AM
    i mean, its "fine" but i dont like enforcing an order
  • b

    bright-gpu-74537

    08/12/2019, 11:37 AM
    so looking at that now
  • b

    bright-gpu-74537

    08/12/2019, 11:37 AM
    (probably wont get anything sorted till later this eve though, but i think there will need to be haxeui changes to make sure order of adding isnt a thing)
  • l

    loud-salesclerk-7438

    08/12/2019, 11:41 AM
    yeah, I sort of had different results when changing the order of things... e.g. filling a ArrayDataSource object and then assigning it to
    .dataSource
    property would not work, but assigning an empty data source and then adding items somehow worked?! (I haven't really played with my code in the last few days, but that's what I remember seeing)
  • b

    bright-gpu-74537

    08/12/2019, 11:45 AM
    right, ideally order shouldnt make a difference... i dont like that you have to remember to do things in a certain order... other components in haxeui dont work that way... so tableview should be the same...
1...949596...1687Latest