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

    quick-king-64105

    08/20/2019, 1:59 PM
    ... On a separate, "maybe this issue can be worked around" note, what is the sort of canonical way to do - purely in HaxeUI - opening a sub-dialog and giving it focus, then returning to the initial ui surface? I did search my own name but didn't see me asking this question. I thought I had but I'm not finding it and apologize if I'm wrong there. What I know is that the current model of swapping to an FlxSubstate will crash, consistently. So the question is if HaxeUI has its own model that could be used in place of an FlxSubstate for such things, basically.
  • b

    bright-gpu-74537

    08/20/2019, 5:14 PM
    this is fun
  • b

    brave-kangaroo-30399

    08/20/2019, 8:16 PM
    Lol I had those issues trying to add hscript to flixel
  • b

    brave-kangaroo-30399

    08/20/2019, 8:17 PM
    @quick-king-64105 you’re right I was thinking of the previous. I’ll look into the earlier two and review my notes for your later issue
  • b

    brave-kangaroo-30399

    08/20/2019, 8:17 PM
    This week
  • q

    quick-king-64105

    08/20/2019, 9:01 PM
    Ian just joined Zaz as one of my spirit animals.
  • q

    quick-king-64105

    08/20/2019, 9:02 PM
    MSGhero, I'm hoping within a few weeks to return to these projects. Obligatory "that would be great" notion here.
  • q

    quick-king-64105

    08/20/2019, 9:02 PM
    If you don't, it's not life ending. I'm not going to be angry or anything. Bummed out, more like.
  • b

    brave-kangaroo-30399

    08/20/2019, 11:23 PM
    Actually, @bright-gpu-74537 did you Travis the backends and also the flixel one? When I check out those issues I’ll also bring flixel up to whatever level you need it at wrt core
  • b

    bright-gpu-74537

    08/21/2019, 5:51 AM
    thanks @brave-kangaroo-30399 - i have done most of the backends
  • b

    bright-gpu-74537

    08/21/2019, 5:52 AM
    some are missing ofc (like flixel), will do those next also
  • s

    silly-kangaroo-60312

    08/21/2019, 7:25 AM
    that's why I always do anything pipeline related on a separate branch that get's squashed into a single commit before merging
  • b

    bright-gpu-74537

    08/21/2019, 7:34 AM
    ^^ thats far more sensible
  • r

    rich-plastic-63351

    08/21/2019, 12:10 PM
    Hi Ian, nice work on the website ! The content feels a bit "crushed" by the light blue columns, I would test with collapsible white margin/padding on the sides, or replace the light blue by pure white to make the page lighter on the eye. Is there a repo for the website yet ?
  • b

    brave-kangaroo-30399

    08/21/2019, 1:27 PM
    Idk seeing like 15 Travis commits when I open GitHub is hilarious
  • l

    limited-advantage-32748

    08/21/2019, 8:00 PM
    Is there something I'm doing wrong here? I could have sworn ScrollView allowed arbitrary XY placement of components
  • b

    bright-gpu-74537

    08/21/2019, 8:06 PM
    something like this?
  • b

    bright-gpu-74537

    08/21/2019, 8:06 PM
    Copy code
    xml
        <scrollview width="300" height="300">
            <absolute width="500" height="500">
               <button left="20" top="20" text="Button 1" />
               <button left="200" top="200" text="Button 2" />
            </absolute>
        </scrollview>
  • b

    bright-gpu-74537

    08/21/2019, 8:07 PM
    you shouldnt need to specify the absolute size, but i think there is a bug somewhere as if i dont i get this:
  • b

    bright-gpu-74537

    08/21/2019, 8:08 PM
    looks like its clipping the scrollbars size even if there isnt one (looking at it now)
  • l

    limited-advantage-32748

    08/21/2019, 8:11 PM
    Well no, not the issue I'm getting
  • l

    limited-advantage-32748

    08/21/2019, 8:11 PM
    the second component, the button, isn't moving despite me setting X and Y values
  • b

    bright-gpu-74537

    08/21/2019, 8:12 PM
    the default content of scrollview is a "Box"
  • l

    limited-advantage-32748

    08/21/2019, 8:12 PM
    Copy code
    var pal_dropdown:DropDown;
        var pal_contextbutton:Button;
        function palette_tab() {
            palette_box = new ScrollView();
            palette_box.text = "Palette";
            main_tab.addComponent(palette_box);
            
            pal_dropdown = new DropDown();
            pal_dropdown.dataSource = pal_datasource;
            palette_box.addComponent(pal_dropdown);
            pal_dropdown.selectedIndex = 0;
            pal_dropdown.text = "Palette";
            pal_dropdown.width = 150;
            pal_dropdown.dropdownHeight = 200;
            
            pal_contextbutton = new Button();
            palette_box.addComponent(pal_contextbutton);
            pal_contextbutton.text = "Context";
            pal_contextbutton.y = 0;
            pal_contextbutton.x = 160;
        }
  • b

    bright-gpu-74537

    08/21/2019, 8:12 PM
    which doesnt use x/y values (it ignores them)
  • l

    limited-advantage-32748

    08/21/2019, 8:12 PM
    Ah, hmm
  • l

    limited-advantage-32748

    08/21/2019, 8:13 PM
    So should I then fill it with sub boxes containing the actual components I need?
  • b

    bright-gpu-74537

    08/21/2019, 8:13 PM
    so you can create an absolute inside that box if you want... what might be nice is ""
  • l

    limited-advantage-32748

    08/21/2019, 8:13 PM
    Alrighty, thanks
  • b

    bright-gpu-74537

    08/21/2019, 8:15 PM
    np - i think layout="..." might be nice anyway... i mean, you can always create a grid / hbox /vbox / absolute /etc inside the default content Box... but a layout attr / prop sounds like it could be nice too
1...99100101...1687Latest