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

    fast-rain-20339

    07/22/2020, 11:44 AM
    lmao sometimes bugs feel so freaking arbitrary feels like a little alien is inside my computer laughing as I go insane πŸ˜›
  • b

    bright-gpu-74537

    07/22/2020, 11:46 AM
    isnt that that bug in kha where the images flash?
  • b

    bright-gpu-74537

    07/22/2020, 11:47 AM
    maybe unrelated, but the fact that all the kha.images also flash might be a hint
  • b

    bright-gpu-74537

    07/22/2020, 11:47 AM
    Β―\_(ツ)_/Β―
  • f

    fast-rain-20339

    07/22/2020, 11:48 AM
    !! Maybe, thanks.
  • b

    bright-gpu-74537

    07/26/2020, 3:50 PM
    https://twitter.com/IanHarrigan1982/status/1287414356108554240
  • h

    handsome-television-62908

    07/27/2020, 3:56 AM
    I've seen a few (at least one other) UI-Frameworks demonstrate a pseudo-OS UI, but this one gets my vote for best!
  • b

    bright-gpu-74537

    07/27/2020, 5:24 AM
    its funny how you learn about design "as you go"... now i think all UIs should be semi transparent and let a backcolour "through"
  • b

    bright-yak-48460

    07/27/2020, 5:51 AM
    Easy way to unify look for sure.
  • b

    brave-kangaroo-30399

    07/27/2020, 4:31 PM
    I’m getting close to UI in a new project and I’m excited for maybe the first time
  • b

    brave-kangaroo-30399

    07/27/2020, 4:33 PM
    It’s been a while tho so I’ll need to run through these newer examples
  • b

    bright-gpu-74537

    07/27/2020, 6:13 PM
    oh yeah? what backend?
  • b

    brave-kangaroo-30399

    07/27/2020, 6:35 PM
    OpenFL for this project
  • b

    brave-kangaroo-30399

    07/27/2020, 6:35 PM
    There will be a good bit of text and maybe text input, so flixel wasn’t ideal
  • t

    tall-dinner-7562

    07/30/2020, 12:17 AM
    Hey all, quick question is there anything like emmet for haxeui ?
  • f

    fast-rain-20339

    07/30/2020, 12:18 AM
    Not afaik, unfortunately. The default vscode emmet often annoys me with it's html tags.
  • t

    tall-dinner-7562

    07/30/2020, 12:21 AM
    Roger roger I was just wondering. Alright looks like we're doing this the old fashion way
  • f

    fast-rain-20339

    07/30/2020, 12:22 AM
    Indeed πŸ™‚ I don't find it too much of a bother. I don't think it would be too hard to make a haxe ui specific emmet, but I find it easy enough writing things myself πŸ™‚ Makes me think slower and more carefully too.
  • t

    tall-dinner-7562

    07/30/2020, 12:23 AM
    ^ That I agree with and I think it helps actually remember long term the actual library
  • k

    kind-policeman-40412

    07/30/2020, 12:46 AM
    Guys, how do I make this work? http://haxeui.org/builder/?hlipyc
  • k

    kind-policeman-40412

    07/30/2020, 12:49 AM
    I understand this could be not so simple πŸ™‚ But still wonder how do I make the component centered vertically inside the parent.
  • k

    kind-policeman-40412

    07/30/2020, 12:53 AM
    Do I have to use a Grid for this to work? Placing my centered VBox inside the center grid cell or something like that? Or maybe there are some tricks like in HTML/CSS to handle this situation using just boxes.
  • f

    fast-rain-20339

    07/30/2020, 12:54 AM
    Vertical align should be enough here, Haxe UI doesn't use web CSS for positioning, afaik it absolutely positions things, so it should easily handle this case. One sec, trying to get it working πŸ™‚
  • f

    fast-rain-20339

    07/30/2020, 12:58 AM
    Aha! Got it. See http://haxeui.org/builder/?fpdsqw. I changed
    vbox
    to
    box
    and also played around with which element I applied it to.
  • f

    fast-rain-20339

    07/30/2020, 12:58 AM
    See https://github.com/haxeui/haxeui-core/issues/272#issuecomment-478276541 (and the whole thread) for more details
  • f

    fast-rain-20339

    07/30/2020, 12:58 AM
    > the verticalAlign should be on the component you want to align, it doesnt mean "align the children this way" it means "align me in the parent this way"... > also keep in mind that the "effectivness" of the align params changes on the layout, for example, horizontalAlign doesnt mean anything on children in a hbox, verticalAlign doesnt mean anything on children in a vbox... if you wanted vertical and horzontal align to work, you could use a box... that supports both.
  • k

    kind-policeman-40412

    07/30/2020, 12:59 AM
    https://github.com/haxeui/haxeui-core/blob/master/haxe/ui/layouts/VerticalLayout.hx I looked into here and as I understand the vbox just uses VerticalLayout and it does not handle verticalAlign case. Just horizontalAlign... but my assumption could be wrong as I spent like 1 minute on investigation πŸ™‚
  • f

    fast-rain-20339

    07/30/2020, 12:59 AM
    You're right πŸ˜„
  • k

    kind-policeman-40412

    07/30/2020, 12:59 AM
    ok then. thank you for your help!
  • k

    kind-policeman-40412

    07/30/2020, 2:09 AM
    Also how would I properly pass some object reference into my xml component so I could refer to it's methods to handle onClick events?
1...321322323...1687Latest