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

    happy-agent-4114

    02/18/2023, 5:13 PM
    lines 108-331 is my entire mainview class
  • h

    happy-agent-4114

    02/18/2023, 5:14 PM
    on git latest
  • a

    ambitious-knife-25690

    02/18/2023, 5:22 PM
    would need the associated code
  • a

    ambitious-knife-25690

    02/18/2023, 5:22 PM
    looking at the error, I'd say the likely suspect is within a @:bind event
  • a

    ambitious-knife-25690

    02/18/2023, 5:22 PM
    you're likely not passing the correct event type
  • a

    ambitious-knife-25690

    02/18/2023, 5:23 PM
    or didn't define the function type properly actually
  • a

    ambitious-knife-25690

    02/18/2023, 5:23 PM
    the function needs a parameter
  • h

    happy-agent-4114

    02/18/2023, 5:23 PM
    it works perfectly on other systems 💀 I'm gonna re-pull from git
  • f

    full-journalist-82607

    02/18/2023, 6:23 PM
    did you forgot some e in bind macro ?
  • h

    happy-agent-4114

    02/18/2023, 7:20 PM
    I have no idea what I did but reinstalling everything fixed it
  • c

    clever-yak-82528

    02/18/2023, 9:57 PM
    i am going to try and get haxeui running on switch
  • c

    clever-yak-82528

    02/18/2023, 9:57 PM
    using raylib as a backend
  • c

    clever-yak-82528

    02/18/2023, 11:56 PM
    hm
  • c

    clever-yak-82528

    02/18/2023, 11:56 PM
    getting build errors trying to use haxeui-raylib
  • p

    purple-businessperson-14467

    02/19/2023, 1:34 AM
    Using CLI I can compile all "git" libs version of haxeui-raylib. I had issue running in vscode but cli was fine.
  • b

    bumpy-engineer-49082

    02/19/2023, 10:02 AM
    What themes are now available for hxui?
  • b

    bumpy-engineer-49082

    02/19/2023, 10:02 AM
    Material is deprecated, Kenney, two standard. Anything else?
  • r

    refined-greece-48002

    02/19/2023, 11:35 AM
    oh
  • r

    refined-greece-48002

    02/19/2023, 11:36 AM
    a lot of issues I've been having lately are because I was building my dev environment from an old image
  • r

    refined-greece-48002

    02/19/2023, 11:36 AM
    so one of my machines had haxe 4.2.5 and the other was 4.2.3 :)
  • e

    early-butcher-76809

    02/19/2023, 4:14 PM
    I have a layout question :D I add a child to a hbox after scaling that child (through code). My hbox is ``horizontalAlign="center"`` but it's doesn't take into account the scale of its child to center itslef (if the child had a scale of 1, it would be nicely centered). Am I missing a step ?
  • b

    bright-gpu-74537

    02/19/2023, 4:41 PM
    how are you scaling the component?
  • b

    bright-gpu-74537

    02/19/2023, 4:41 PM
    hmmm, in toolkit options what happens if you specify "noBatch"?
  • e

    early-butcher-76809

    02/19/2023, 4:41 PM
    Copy code
    haxeUIComponent.scaleX = scale;
    haxeUIComponent.scaleY = scale;
  • b

    bright-gpu-74537

    02/19/2023, 4:41 PM
    ie:
    Copy code
    haxe
    Toolkit.init({
        noBatch: true
    });
  • b

    bright-gpu-74537

    02/19/2023, 4:42 PM
    so i guess that is a heaps call, which means haxeui isnt going to know anything about its "new" size
  • e

    early-butcher-76809

    02/19/2023, 4:42 PM
    Oh shit, you're right. Sorry :D
  • e

    early-butcher-76809

    02/19/2023, 4:43 PM
    Is there a way to scale stuff ?
  • b

    bright-gpu-74537

    02/19/2023, 4:43 PM
    not on a component basis, you can only scale everything
  • b

    bumpy-engineer-49082

    02/19/2023, 4:44 PM
    Copy code
    package;
    
    import haxe.ui.HaxeUIApp;
    import haxe.ui.Toolkit;
    
    class Main {
        public static function main() {
            Toolkit.init({
                noBatch: true
            });
            var app = new HaxeUIApp();
            app.ready(function() {
                app.addComponent(new WindowsView());
    
                app.start();
            });
        }
    }
1...152515261527...1687Latest