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

    bright-gpu-74537

    01/22/2023, 11:49 AM
    hmmm, yeah
  • b

    bright-gpu-74537

    01/22/2023, 11:51 AM
    dunno if i like it though
  • b

    bright-gpu-74537

    01/22/2023, 11:52 AM
    ?
  • b

    bright-gpu-74537

    01/22/2023, 11:53 AM
    gtk seems to something like
  • f

    full-journalist-82607

    01/22/2023, 12:27 PM
    I don't like the simple border, it's seems it's the focus. I find t confusing.
  • b

    bright-gpu-74537

    01/22/2023, 12:45 PM
    agree... this is the one in git atm:
  • p

    powerful-morning-89

    01/22/2023, 1:17 PM
    Apple and GNOME's human interface guidelines both say one should use a filled button.
  • b

    bright-gpu-74537

    01/22/2023, 2:44 PM
    it honestly still looks a little off to me, but ill let it settle and see how it looks "in the wild"
  • a

    ambitious-knife-25690

    01/22/2023, 2:57 PM
    I don't like the height of the footer
  • a

    ambitious-knife-25690

    01/22/2023, 2:57 PM
    makes it seem off
  • b

    bright-gpu-74537

    01/22/2023, 2:57 PM
    it matches the padding of the content though, otherwise things misalign
  • b

    bright-gpu-74537

    01/22/2023, 2:59 PM
    ☝️ this looks far worse imo
  • b

    bright-gpu-74537

    01/22/2023, 3:00 PM
    ☝️ so does this
  • b

    bright-gpu-74537

    01/22/2023, 3:01 PM
    ☝️ and this just looks awful / too squished
  • r

    refined-laptop-39041

    01/22/2023, 3:32 PM
    @clever-yak-82528 https://github.com/thomasjwebb/example-haxe-externs-for-rust
  • r

    refined-laptop-39041

    01/22/2023, 3:33 PM
    Not really a big fan of using Rust in a Haxe project though as it would require you to have three compilers
  • r

    refined-laptop-39041

    01/22/2023, 3:36 PM
    Also makes compiling to other platforms much harder, but that is an issue with C bindings too
  • c

    clever-yak-82528

    01/22/2023, 4:57 PM
    ah interesting
  • c

    clever-yak-82528

    01/22/2023, 4:57 PM
    will mess around with those
  • c

    clever-yak-82528

    01/22/2023, 6:16 PM
    i have made my solution less cursed
  • c

    clever-yak-82528

    01/22/2023, 6:16 PM
    it's still a bit more cursed than that repo, since i need to do some processing in c++ which kind of fucks up the linking, but it's not so bad now
  • c

    clever-yak-82528

    01/22/2023, 6:23 PM
    @bright-gpu-74537 how do i add an onclick function to a menubar item? "onclick" doesn't seem to work
  • f

    full-journalist-82607

    01/22/2023, 6:24 PM
    You have a menu event http://haxeui.org/api/haxe/ui/containers/menus/menuevent/
  • c

    clever-yak-82528

    01/22/2023, 6:24 PM
    this does not help
  • f

    full-journalist-82607

    01/22/2023, 6:24 PM
    one moment I'll copy from my code
  • f

    full-journalist-82607

    01/22/2023, 6:26 PM
    For exampe
    Copy code
    haxe
    @:bind(menubar, MenuEvent.MENU_SELECTED)
        private function onSelectMenu(e:MenuEvent) {
            switch (e.menuItem.id) {
                case "quit":
                    #if sys Sys.exit(0); #end
  • c

    clever-yak-82528

    01/22/2023, 6:26 PM
    oh, amazing
  • c

    clever-yak-82528

    01/22/2023, 6:26 PM
    thanks
  • f

    full-journalist-82607

    01/22/2023, 6:27 PM
    you're welcome
  • b

    bright-gpu-74537

    01/22/2023, 6:39 PM
    progress from what im working on atm (another example of haxeui "in the wild") - @gray-state-67732 - this is the thing i was talking about (early days - prototype really)
1...139613971398...1687Latest