https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • Yes a while ago, I haven’t played with one since 4.3 tho
    b

    brave-kangaroo-30399

    04/13/2023, 11:33 AM
    Yes a while ago, I haven’t played with one since 4.3 tho
  • p

    purple-businessperson-14467

    04/13/2023, 2:30 PM
    I did, yes, havent tested that in a while
  • b

    bright-gpu-74537

    04/14/2023, 12:35 PM

    https://cdn.discordapp.com/attachments/565569107701923852/1096413532792307723/image.png▾

  • b

    bright-gpu-74537

    04/14/2023, 12:36 PM
    super simple (<150 loc) app to monitor a folder (and its sub folders) looking for git repos and showing when things have uncommited changes
  • b

    bright-gpu-74537

    04/14/2023, 12:37 PM
    i find myself clicking around a git client all the time going "i cant remember if i have commited everything or not", my git client has this window:
  • b

    bright-gpu-74537

    04/14/2023, 12:38 PM

    https://cdn.discordapp.com/attachments/565569107701923852/1096414109014183936/image.png▾

  • b

    bright-gpu-74537

    04/14/2023, 12:38 PM
    but it doesnt show changes (for some reason)...
  • a

    ambitious-knife-25690

    04/14/2023, 1:03 PM
    lol the scrollbar for this
  • a

    ambitious-knife-25690

    04/14/2023, 1:04 PM
    so many libs ian 😂
  • a

    ambitious-knife-25690

    04/14/2023, 1:04 PM
    is this a haxeui app?
  • r

    refined-laptop-39041

    04/14/2023, 1:46 PM
    No, it is GitKraken
  • h

    helpful-boots-41914

    04/15/2023, 4:50 PM
    So I'm wondering where the best place to ask this - assuming here. But I have the need for a component that acts like a generic fluid grid. I'm aware that you can sort of get that with
    HBox + Continuous
    but I'm wondering if that's better than trying to fit the
    Grid
    component into that usecase instead - or even something else if that's existing. But, basically, looking for something where it has cells of a certain proportion that expand or separate to fill the space of the container they're inside of. I'm thinking
    HBox + Continuous
    would be great for this but from what I understand there's no spacing options. In HTML + CSS it would look exactly like this https://jsfiddle.net/prv3qu26/ (just as an example)
  • b

    bright-gpu-74537

    04/15/2023, 5:18 PM
    it doesnt work exactly the same, but its similar: http://haxeui.org/builder/?3094f5e9
  • b

    bright-gpu-74537

    04/15/2023, 5:18 PM
    spacing / padding are taken into account when making the calcs
  • b

    bright-gpu-74537

    04/15/2023, 5:18 PM
    what it doesnt do is sort of distribute the spacing between the items
  • h

    helpful-boots-41914

    04/15/2023, 5:22 PM
    Thank you! Yeah that's the closest I can get without having to rewrite my own container - which I'm not sure how to do haha. I'm making this for a range of dimensions and wanted it to be responsive and that's close, I just don't like the wide space at the right of it all... I was testing what Grid looked like and I don't think it's what I want either. So would I have to sort of rewrite HBox to do this?
  • b

    bright-gpu-74537

    04/15/2023, 5:22 PM

    https://cdn.discordapp.com/attachments/565569107701923852/1096848126779867286/image.png▾

  • b

    bright-gpu-74537

    04/15/2023, 5:22 PM
    i do completely agree with you
  • h

    helpful-boots-41914

    04/15/2023, 5:23 PM
    I think, perhaps, I might not need to rewrite the whole thing. I could work on calculating the spacing based on dimensions?
  • b

    bright-gpu-74537

    04/15/2023, 5:23 PM
    leave it with me, ill have a think, just not how to express that in css, or maybe it should be the default and not changeable... 🤔
  • h

    helpful-boots-41914

    04/15/2023, 5:25 PM
    Ahh okay! So if you are working on this in terms of css there's a way to express the intention of the user in html/css which is
    justify-content: space-around | space-evenly | ....;
    if you're not aware of it
  • b

    bright-gpu-74537

    04/15/2023, 5:25 PM
    yeah, i saw that... just dunno if i wanna do that as this will just be for this layout current... although... maybe it wouldnt need to be
  • h

    helpful-boots-41914

    04/15/2023, 5:27 PM
    Right, and in css (for flexboxes) there's also
    align-content
    which is the cross axis of
    justify-content
    so this would work vertically as well, but I've never used it
  • b

    bright-gpu-74537

    04/15/2023, 5:28 PM
    so the haxeui continuous hbox is basically this: https://jsfiddle.net/prv3qu26/ (justify-content: start)
  • b

    bright-gpu-74537

    04/15/2023, 5:29 PM
    anyways, ill have a think / play at some point... sounds like justify-content does make sense to add, even if its just used by this layout for now
  • h

    helpful-boots-41914

    04/15/2023, 5:31 PM
    Gotcha! That sounds good to me. Thanks man! In that case I'll go ahead and use the continuous hbox for what I'm trying to do then
  • b

    bright-gpu-74537

    04/15/2023, 5:31 PM
    yeah, just squint and pretend it works for now, i think its a totally valid use case, as i also think that extra space, though useful in some cases, is probably NOT what you are after very often
  • b

    bright-gpu-74537

    04/15/2023, 5:47 PM
    well, its easy enough to hack in (as a PoC),

    https://cdn.discordapp.com/attachments/565569107701923852/1096854281870639194/justified-spacing.gif▾

  • h

    helpful-boots-41914

    04/15/2023, 6:09 PM
    That's pretty sweet! Nice!
  • h

    helpful-boots-41914

    04/15/2023, 11:08 PM
    I should also note that the way it looks when there's not enough to overflow to a new row looks like this: https://jsfiddle.net/z7rcamLw/. Notice that it doesn't spread them evenly but that it hugs to the left. I think that is desirable when there's no overflow . . what do you think?
1...163416351636...1687Latest