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

    powerful-morning-89

    11/30/2022, 11:11 AM
    A theoretical webview component would be completely optional (Ian suggested it would be a separate library) and therefore have no impact on use cases such as games.
  • b

    bright-gpu-74537

    11/30/2022, 12:55 PM
    yeah, agreed, if it were to be done (and i still dont think its a great idea, at least not for certain backends) then it would almost certainly be an external lib / module
  • b

    bright-gpu-74537

    11/30/2022, 1:14 PM
    ... i may have gone slightly overboard with my test app 😄
  • i

    icy-zebra-52882

    11/30/2022, 1:20 PM
    bloody hell
  • i

    icy-zebra-52882

    11/30/2022, 1:20 PM
    looks amazing though
  • i

    icy-zebra-52882

    11/30/2022, 1:20 PM
    considering it went from a draggable window to almost full window manager inside the existing framework
  • b

    bright-gpu-74537

    11/30/2022, 1:21 PM
    yeah, ill add docking at some point, but i should probably get my head out my arse and do something else... helluva rabbit hole 😄
  • b

    bright-gpu-74537

    11/30/2022, 1:27 PM
    dark theme is quite nice too
  • f

    full-journalist-82607

    11/30/2022, 2:03 PM
    🤣 I found this sentence quite funny. 🐇 🐇 What exactly is the rabbit hole ? 😛
  • b

    bright-gpu-74537

    11/30/2022, 2:04 PM
    ... ... from alice in wonderland
  • b

    bright-gpu-74537

    11/30/2022, 2:04 PM
    > To enter into a situation or begin a process or journey that is particularly strange, problematic, difficult, complex, or chaotic, especially one that becomes increasingly so as it develops or unfolds.
  • f

    full-journalist-82607

    11/30/2022, 2:06 PM
    I meant you were talking about having your head in your arse juste before ...... and then talking about a rabbit hole. I was not sure what you were describing 😛
  • b

    bright-gpu-74537

    11/30/2022, 2:06 PM
    hahahahahahahahahahaha 🤦‍♂️
  • f

    full-journalist-82607

    11/30/2022, 2:08 PM
    😆 But as usual great work, I 'am always excited to see video of potentially new features .
  • h

    hallowed-ocean-84954

    11/30/2022, 3:22 PM
    seriously mixed metaphor - nicely done on the window manager - and yeah docking would be nice - I had some reason recently where I thought it would be nice in some UI thinking - can't recall what
  • b

    bright-gpu-74537

    11/30/2022, 9:49 PM
    haxeui (experimental) window manager is now in haxeui-core, there are also three new examples in the builder: * http://haxeui.org/explorer/#containers/windows * http://haxeui.org/explorer/#containers/windows/multiple_managers * http://haxeui.org/explorer/#examples/employee_app
  • r

    rich-plastic-63351

    11/30/2022, 10:02 PM
    congratulations it is very promising ! Testing a little : in employee app > human resource window, shrinking it too much from south east corner makes the window overflow/explode, and while still dragging the corner, "unshrinking" is difficult/inconsistent.
  • b

    bright-gpu-74537

    11/30/2022, 10:03 PM
    yeah, min / max width height still need to be implemented, but im actually kinda sick of looking at it at this point 😄
  • b

    bright-gpu-74537

    11/30/2022, 10:03 PM
    but if i didnt commit it, i would spend all day tomorrow pissing about with it, and i need to get on with other stuff... heh heh
  • r

    rich-plastic-63351

    11/30/2022, 10:17 PM
    👍 already amazing for a first sprint !
  • r

    refined-cat-44047

    12/01/2022, 3:39 AM
    Seems no matter what I do (rolling back through various haxelib git versions) I can't seem to find the point where it broke. I might be missing something
  • b

    bright-gpu-74537

    12/01/2022, 7:12 AM
    can you gif your behaviour? Seems sensible this end
  • b

    bright-gpu-74537

    12/01/2022, 7:15 AM
    im on latest haxeui-core, latest haxeui-flixel, latest flixel (well, dev branch, but i think that is 5.0 also at this point), git openfl (a8fd90ecc0c485fb4b039b7d6d490eb63438e91b), git lime (4c821525b425664a2bf968597d243b069c088171)
    r
    • 2
    • 6
  • b

    bright-gpu-74537

    12/01/2022, 8:44 AM
    this should be fixed now on latest haxeui-flixel (git)... you do need to call ".screenCenter()" after a component has been added to the state though (unless its not autosized, then you can call it anywhere):
    Copy code
    haxe
            var button = new Button();
            button.text = "Center";
            add(button);
            button.screenCenter();
  • i

    icy-zebra-52882

    12/01/2022, 9:48 AM
    is there a way to specify which column a component should appear in within a grid layout?
  • i

    icy-zebra-52882

    12/01/2022, 9:48 AM
    I have some dropdowns with labels, but if the label for one gets too long then it offsets the dropdown onto the next line and messes up the layout of the rest of the form
  • i

    icy-zebra-52882

    12/01/2022, 9:50 AM
    I can use
    <hbox>
    with fixed width and have
    horizontalAlign
    props set for the components within, but it's nowhere near as clean as something like
    <label column="1" />
  • i

    icy-zebra-52882

    12/01/2022, 9:53 AM
    actually even that doesn't work
  • b

    bright-gpu-74537

    12/01/2022, 10:02 AM
    so the short answer is "no", grid layout takes the components, regardless of how many and places them in the grid based on the number of columns not some index.
  • b

    bright-gpu-74537

    12/01/2022, 10:02 AM
    That said, you can use spacers, and other sub components as items in the column:
1...131013111312...1687Latest