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

    bright-gpu-74537

    06/10/2019, 9:50 AM
    true enough, flash is a supported platform, and i dont think the joke, comment, whatever you want to call it says anything about that...
  • q

    quick-king-64105

    06/10/2019, 9:50 AM
    Yeah, that's fair enough, at least.
  • b

    bright-gpu-74537

    06/10/2019, 9:50 AM
    its the equivelent of:
  • b

    bright-gpu-74537

    06/10/2019, 9:50 AM
    which is thrown around in the teams i work with all the time... in jest
  • q

    quick-king-64105

    06/10/2019, 9:50 AM
    Yeah, I don't know.
  • q

    quick-king-64105

    06/10/2019, 9:51 AM
    And here, it's not "I don't get it was meant as a joke" at this point (to say it a third time)
  • b

    bright-gpu-74537

    06/10/2019, 9:51 AM
    is it the correct response to an issue? Maybe not, but again, this was in a chat, not on a "formal" GH issue
  • q

    quick-king-64105

    06/10/2019, 9:51 AM
    It's "maybe that - yeah, this.
  • q

    quick-king-64105

    06/10/2019, 9:51 AM
    Well, which one? I can easily drop issues in either place.
  • q

    quick-king-64105

    06/10/2019, 9:51 AM
    We wound up in discord eventually anyway, so it seemed "well enough".
  • b

    bright-gpu-74537

    06/10/2019, 9:52 AM
    issues make sense for issues, and if a GH issue had a "works on my machine" it doesnt make much sense... a forum post? chat? Sure... why not
  • q

    quick-king-64105

    06/10/2019, 9:52 AM
    Fine, then let's change the way I'm addressing this, since I'm clearly botched in that regard. I'mma at least raise "uh, WTF" in chat, but actual write ups I'll submit to github. Does that work better?
  • b

    bright-gpu-74537

    06/10/2019, 9:53 AM
    makes total sense to me... issues are the formalisation of problems... discussions there are generally technical and to the point, chat / forum posts about issues arent... thats my feeling anyway
  • q

    quick-king-64105

    06/10/2019, 9:53 AM
    Okay. Noted.
  • q

    quick-king-64105

    06/10/2019, 9:57 AM
    In the meantime, that issue may be legitimate. While it's true I prefer to keep in motion, as a general rule I don't rush upstream if I can avoid it. I've been watching a fight between MelonDS and Dsemume that is probably going to become my teaching example on "don't disregard possible, tangible issues for personal reasons" so... I'm an asshole (if that's the assessment), the problem may be legitimate and should still be looked at, and uh... get back to me on that.
  • q

    quick-king-64105

    06/10/2019, 9:57 AM
    And a note to self that I left leadership and management instruction years ago for a reason, stop talking like that >.<
  • f

    fierce-restaurant-45913

    06/12/2019, 10:27 PM
    i want to add component to a vbox with a for loop but it doesn't work
    Copy code
    Main.currentView = ComponentMacros.buildComponent("assets/ui/home.xml");
            for ( news in Json.sampleNews.news ) {
                var box:VBox = Main.currentView.findComponent("sample");
                var title:Label = new Label();
                var author:Label = new Label();
                var content:Label = new Label();
                title.text = news.title;
                author.text = news.author;
                content.text = news.content;
                try {
                box.addComponent(title);
                box.addComponent(author);
                box.addComponent(content);
                } catch (err:Dynamic)
                {
                    trace(err);
                } }
                Screen.instance.addComponent(Main.currentView);
    i receive Invalid field access : addComponent . Am i doing something wrong ?
  • q

    quick-king-64105

    06/12/2019, 10:36 PM
    Cast the box.
  • q

    quick-king-64105

    06/12/2019, 10:36 PM
    var box:VBox = Main.currentView.findComponent("sample", VBox);
  • f

    fierce-restaurant-45913

    06/12/2019, 10:45 PM
    :/ i still receive the same error
  • q

    quick-king-64105

    06/12/2019, 10:47 PM
    Probably beyond me, if you replaced that line with the one I gave you.
  • q

    quick-king-64105

    06/12/2019, 10:47 PM
    Sorry.
  • q

    quick-king-64105

    06/12/2019, 10:49 PM
    Wait. Can I see your XML, please?
  • f

    fierce-restaurant-45913

    06/12/2019, 10:55 PM
    Copy code
    <?xml version="1.0" encoding="utf-8"?>
    <tabview width="100%" height="100%" styleNames="body">
        <style source="../css/main.css" />
        
        <vbox text="home" styleNames="main">
            <label text="news" styleNames="title" />
        </vbox>
        <vbox text="delete news" id="sample" styleNames="main">
    
        </vbox>
        <vbox text="add news"  styleNames="main">
            
        </vbox>
        
    </tabview>
  • q

    quick-king-64105

    06/12/2019, 11:00 PM
    Hmmmm... Ponderous. I had thought perhaps there was a subtle issue there in type mismatching or even case. Nope. I'm sorry I'm pretty useless here. On the bright side, that should be plenty enough once someone more capable gets here.
  • b

    bright-gpu-74537

    06/13/2019, 6:13 AM
    hi @fierce-restaurant-45913 - indeed strange, lemme try it out in a test app
  • b

    bright-gpu-74537

    06/13/2019, 6:13 AM
    not that this should matter, but what backend?
  • b

    bright-gpu-74537

    06/13/2019, 6:13 AM
    ah
  • b

    bright-gpu-74537

    06/13/2019, 6:13 AM
    actually, i can see whats happening
  • b

    bright-gpu-74537

    06/13/2019, 6:14 AM
    sample is a tabview page, which means it isnt created yet... is this new component method branch? I feel like there is a fix there for it
1...535455...1687Latest