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

    bright-gpu-74537

    11/27/2022, 7:55 PM
    is it abandoned? I just think its not getting updates, no? Seems to me plenty of people use it
  • f

    famous-alarm-22563

    11/27/2022, 7:55 PM
    lmao.. took me a while to notice.. Oops
  • b

    bright-gpu-74537

    11/27/2022, 7:55 PM
    but yeah, as a rule of thumb @famous-alarm-22563 , if it starts with Flx, you are probbly in the wrong channel 🙂 (probably)
  • f

    famous-alarm-22563

    11/27/2022, 7:56 PM
    Aight, since you're all here How do I set the font for haxeUI?
  • b

    bright-gpu-74537

    11/27/2022, 7:59 PM
    mybutton.customStyle.fontName = "some_font_that_is_discoverable.ttf"
    or
    Copy code
    css
    .something {
        font-family: "some_font_that_is_discoverable.ttf"
    }
  • f

    famous-alarm-22563

    11/27/2022, 7:59 PM
    Ooo, fancy
  • f

    famous-alarm-22563

    11/27/2022, 8:00 PM
    can I supply a path to my own ttf font?
  • b

    bright-gpu-74537

    11/27/2022, 8:00 PM
    sure
  • f

    famous-alarm-22563

    11/27/2022, 8:00 PM
    eg:
    ./assets/font.ttf
  • b

    bright-gpu-74537

    11/27/2022, 8:00 PM
    if flixel can find it, haxeui can
  • b

    bright-gpu-74537

    11/27/2022, 8:01 PM
    (and in somecases, haxeui can embed things so you dont have to care about the framework)
  • f

    famous-alarm-22563

    11/27/2022, 8:01 PM
    great, and how can I bundle this font to my project
  • f

    famous-alarm-22563

    11/27/2022, 8:02 PM
    ^ I think this is the last thing I need to ask 🙂
  • f

    famous-alarm-22563

    11/27/2022, 8:02 PM
    .. for now
  • b

    bright-gpu-74537

    11/27/2022, 8:02 PM
    im just about to head off, but you can either use a haxeui module, or you can just use flixel, haxeui will look in flixel assets before it looks into its own
  • f

    famous-alarm-22563

    11/27/2022, 8:03 PM
    Perfect. I really appreciate you answering 🙂
  • b

    bright-gpu-74537

    11/27/2022, 8:03 PM
    no hassle, no bother.
  • f

    famous-alarm-22563

    11/28/2022, 1:13 PM
    I am getting an error in haxeui-flixel 1.5.0 in AppImpl it says that the
    ignoresplash
    argument should be a bool but instead it is getting an int... HMMM
  • a

    ambitious-knife-25690

    11/28/2022, 1:13 PM
    pull haxeui dependencies from git instead of haxelib
  • f

    famous-alarm-22563

    11/28/2022, 1:18 PM
    ?
  • f

    famous-alarm-22563

    11/28/2022, 1:18 PM
    haxelib is outdated again?
  • f

    famous-alarm-22563

    11/28/2022, 1:19 PM
    or was that just a suggestion @ambitious-knife-25690
  • a

    ambitious-knife-25690

    11/28/2022, 1:20 PM
    it was the likely solution
  • a

    ambitious-knife-25690

    11/28/2022, 1:20 PM
    your library is out of date on haxelib
  • a

    ambitious-knife-25690

    11/28/2022, 1:20 PM
    and likely up to date on the git repo
  • a

    ambitious-knife-25690

    11/28/2022, 1:21 PM
    Copy code
    haxelib git haxeui-core https://github.com/haxeui/haxeui-core
    haxelib git haxeui-flixel https://github.com/haxeui/haxeui-flixel
  • f

    famous-alarm-22563

    11/28/2022, 1:24 PM
    Copy code
    /usr/local/lib/haxe/lib/haxeui-flixel/git/haxe/ui/backend/ScreenImpl.hx:84: characters 24-51 : haxe.ui.core.Screen has no field hasSolidComponentUnderPoint (Suggestions: hasComponentUnderPoint, findComponentsUnderPoint)
  • f

    famous-alarm-22563

    11/28/2022, 1:24 PM
    my libs are out of sync now...
  • a

    ambitious-knife-25690

    11/28/2022, 1:25 PM
    that path looks odd
  • a

    ambitious-knife-25690

    11/28/2022, 1:26 PM
    is your haxe/haxelib setup normally? 🤔
1...130213031304...1687Latest