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

    hallowed-forest-58641

    11/29/2022, 2:03 PM
    Did hx_arabic_shaper works for you ? I tried to get it to work, but the arabic text did not show . The example in the github doesn't work for me.
  • m

    microscopic-church-15084

    11/29/2022, 2:32 PM
    Is it possible to make Haxe-ui more like modern web UI components? (bigger, touch friendly etc) ?
  • f

    famous-alarm-22563

    11/29/2022, 2:40 PM
    Ah, if it does not show it means your font doesn't have arabic letters in it 🙂
  • f

    famous-alarm-22563

    11/29/2022, 2:40 PM
    I hope this helped!
  • a

    ambitious-knife-25690

    11/29/2022, 2:45 PM
    from my understanding, haxeui's Pro is that it is completely customisable
  • a

    ambitious-knife-25690

    11/29/2022, 2:46 PM
    you can style or create any component you want
  • a

    ambitious-knife-25690

    11/29/2022, 2:51 PM
    so it is totally possible
  • f

    famous-alarm-22563

    11/29/2022, 3:09 PM
    @bright-gpu-74537 The styling syntax for haxeui looks identical to css. Is it actual css or a subset? I can't tell.
  • f

    famous-alarm-22563

    11/29/2022, 3:09 PM
    if it is actual css... is there a list of the available properties somewhere?
  • b

    bright-gpu-74537

    11/29/2022, 3:09 PM
    its certainly not FULL css, but it aims to be as close a possible... there is defo a bunch of stuff (most probably) that isnt there
  • b

    bright-gpu-74537

    11/29/2022, 3:10 PM
    you best best for a fullish list of props would be from here: http://haxeui.org/api/haxe/ui/styles/style/
  • b

    bright-gpu-74537

    11/29/2022, 3:11 PM
    but it doesnt really tell you how they get parsed into that object...
  • b

    bright-gpu-74537

    11/29/2022, 3:11 PM
    for the most part you can probably guess though
  • b

    bright-gpu-74537

    11/29/2022, 3:11 PM
    or you can look here at the source: https://github.com/haxeui/haxeui-core/blob/master/haxe/ui/styles/Style.hx
  • b

    bright-gpu-74537

    11/29/2022, 3:13 PM
    the main reason css was chosen for the styling wasnt really for the css attributes, but mainly for the css rules... being able to do
    .something #foo.somethingElse #bar:hover
    is pretty powerful
  • f

    famous-alarm-22563

    11/29/2022, 3:14 PM
    Have you thought of straight up embedding something like electron? Its an interesting idea and I think it ahs been mentioned before/crossed your minds. what do you think about that?
  • b

    bright-gpu-74537

    11/29/2022, 3:14 PM
    embedding electron?
  • f

    famous-alarm-22563

    11/29/2022, 3:15 PM
    Yeah, so users get css/html/js
  • b

    bright-gpu-74537

    11/29/2022, 3:15 PM
    inside haxeui? Or do you mean running a haxeui app inside electron?
  • f

    famous-alarm-22563

    11/29/2022, 3:15 PM
    embedding electron inside haxeui for non html5 targets
  • f

    famous-alarm-22563

    11/29/2022, 3:15 PM
    and using regular html/css/js for html5 target
  • b

    bright-gpu-74537

    11/29/2022, 3:16 PM
    so you mean like a "webview" component inside of haxeui?
  • f

    famous-alarm-22563

    11/29/2022, 3:16 PM
    Exactly
  • b

    bright-gpu-74537

    11/29/2022, 3:17 PM
    dont really so how that would be possible with alot of backends though... i mean, how is native hxcpp flixel (for example) going to run a browser inside its native window?
  • f

    famous-alarm-22563

    11/29/2022, 3:17 PM
    🤷‍♂️ I'm exploring the idea
  • f

    famous-alarm-22563

    11/29/2022, 3:18 PM
    and wanted to have a second opinion
  • f

    famous-alarm-22563

    11/29/2022, 3:18 PM
    my first impulse is: if it is possible. It should be done.
  • p

    powerful-morning-89

    11/29/2022, 3:18 PM
    For WxWidgets or Android that should be relatively easy. For other backends it'll more complicated.
  • b

    bright-gpu-74537

    11/29/2022, 3:19 PM
    my first impulse is: its going to be verrry hard, not going to have great results and 100% should be a lib external to haxeui (haxeui-webview or something)
  • b

    bright-gpu-74537

    11/29/2022, 3:19 PM
    yeah, wx already has a webview, native android too presumably, and html5, well, you dont care... just use a div or an iframe
1...130613071308...1687Latest