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

    ambitious-knife-25690

    11/29/2022, 1:03 AM
    it probably works on html due to it using a native input box, but i'm personally not sure if haxeui is "meant" to support it
  • f

    famous-alarm-22563

    11/29/2022, 1:04 AM
    I found hx_arabic_shaper which seems to do what I want.. I haven't got around to using it yet but I'll see if it works.
  • f

    famous-alarm-22563

    11/29/2022, 1:14 AM
    Aight, that works... for now, I suspect that this will bite me later but there's nothing for it.
  • f

    full-journalist-82607

    11/29/2022, 8:38 AM
    What backend do you use ?
  • b

    bright-gpu-74537

    11/29/2022, 8:44 AM
    so, depending on backend (as i think yoplala is about to say) you might get away with RTL text, haxeui-html5 will almost certainly "accidently" support it since the browser will, however haxeui layouts DONT support RTL, though i think it would be neat if they did - i just need someone able and willing to put time into working with me as to "whats right", you can see a brief discussion here: https://community.haxeui.org/t/rtl-direction-openfl/409/6
  • b

    bright-gpu-74537

    11/29/2022, 8:44 AM
    but this specifically:
  • b

    bright-gpu-74537

    11/29/2022, 8:49 AM
    then there is like "ttb" (top to bottom) and "btt" (bottom to top) types aswell, which i only found out was "a thing" a few months back, i mean, i knew there was languages that read top down, but i (incorrectly) assumed that in the context of computers they all went left to right or right to left...
  • f

    future-iron-61487

    11/29/2022, 9:00 AM
    this might be more of a flixel question than a haxeui one, but is there a way to nest a flixel game inside the UI?
  • f

    future-iron-61487

    11/29/2022, 9:02 AM
    I wonder if it would make sense to use haxeui-openfl and then just scale the flixel
    Sprite
    to fit under the control of openfl
  • b

    bright-gpu-74537

    11/29/2022, 9:03 AM
    im not well versed in flixel really, but can you nest your whole game inside a "FlxSprite"?
  • f

    future-iron-61487

    11/29/2022, 9:21 AM
    well, I think Flixel renders everything to a final openfl sprite
  • b

    bright-gpu-74537

    11/29/2022, 9:22 AM
    gotcha, then yeah, i guess you could go down the openfl route and create a GameWrapper or SpriteWrapper haxeui-openfl component
  • b

    bulky-exabyte-6537

    11/29/2022, 10:02 AM
    is there native support for a "flyout" ("popover" in gtk) in haxeui?
  • b

    bulky-exabyte-6537

    11/29/2022, 10:02 AM
    https://learn.microsoft.com/en-us/windows/apps/design/controls/dialogs-and-flyouts/
  • b

    bulky-exabyte-6537

    11/29/2022, 10:02 AM
    its the trendy new thing
  • f

    future-iron-61487

    11/29/2022, 10:32 AM
    ... dialogs? http://haxeui.org/explorer/#containers/dialogs
  • f

    future-iron-61487

    11/29/2022, 10:33 AM
    xtremely hot and also new
  • f

    future-iron-61487

    11/29/2022, 10:34 AM
    I don't know if it can create a new native window though; that may depend on the backend
  • b

    bulky-exabyte-6537

    11/29/2022, 10:37 AM
    no, the link i posted explains the differences between a dialog and a flyout
  • b

    bright-gpu-74537

    11/29/2022, 10:39 AM
    so no, there is no "flyout" as the moment...
  • b

    bulky-exabyte-6537

    11/29/2022, 10:39 AM
    like clicking on a discord username displays a flyout
  • b

    bright-gpu-74537

    11/29/2022, 10:39 AM
    i guess you could add it yourself though, should be pretty easy, no? Composite / native?
  • b

    bulky-exabyte-6537

    11/29/2022, 10:41 AM
    yeah shouldnt be too hard, just a bit of boilerplate to figure out where to place it so it doenst appear off screen
  • b

    bulky-exabyte-6537

    11/29/2022, 10:41 AM
    i thought it would be nice since u already have that logic for the tooltips
  • b

    bright-gpu-74537

    11/29/2022, 10:41 AM
    yeah, i actually thought the exact same... ie, "this is basically a tooltip that isnt on mouse over"
  • b

    bright-gpu-74537

    11/29/2022, 10:42 AM
    but it aint gonna work with tooltips for precisely that reason, that said, i want to add "callouts" at some point (basically the same thing i think)
  • b

    bright-gpu-74537

    11/29/2022, 10:43 AM
    the reason i want it is for sliders, but the same applies really to any component
  • b

    bright-gpu-74537

    11/29/2022, 10:43 AM
    this is why i want "callouts":
  • b

    bulky-exabyte-6537

    11/29/2022, 10:46 AM
    oh yeah thats almost the same thing
  • b

    bright-gpu-74537

    11/29/2022, 10:46 AM
    yeah, tbh, i hadnt considered making them interactive (as in your example)... but i will now (when i get round to making them, but wont be for a while, so you should defo consider your own impl)
1...130513061307...1687Latest