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

    fast-rain-20339

    06/19/2020, 7:56 AM
    Gotta go, be back later tonight. Cut/copy/paste feels close
  • b

    bright-gpu-74537

    06/19/2020, 7:57 AM
    nice one... thanks again! 🙂
  • h

    handsome-television-62908

    06/19/2020, 8:01 AM
    don't mind me . . . just now putting haxeui into my project - using that sample code posted not too long ago xD
  • h

    handsome-television-62908

    06/19/2020, 8:01 AM
    Seeing all of that together feels great!
  • b

    bright-gpu-74537

    06/19/2020, 8:05 AM
    oh nice... using the kenney theme?
  • b

    bright-gpu-74537

    06/19/2020, 8:05 AM
    what backend?
  • b

    bright-gpu-74537

    06/19/2020, 8:06 AM
    reminds me i need to make a "frame" component 😉
  • h

    handsome-television-62908

    06/19/2020, 8:07 AM
    This is Kha 😀
  • h

    handsome-television-62908

    06/19/2020, 8:07 AM
    Yes the Kenney theme! I like the way it looks, specially as a starting point haha
  • b

    bright-gpu-74537

    06/19/2020, 8:11 AM
    very cool 🙂
  • b

    bright-gpu-74537

    06/19/2020, 8:21 AM
    btw, its kinda a cheap trick, but you can use a dialog as a frame... they werent really intended to be used this way (usually you create a dialog on the screen above other ui parts), but since they are haxeui components they work just fine from xml or anywhere in the component hierarchy
  • b

    bright-gpu-74537

    06/19/2020, 8:21 AM
    http://haxeui.org/builder/?yrhwhy
  • b

    bright-gpu-74537

    06/19/2020, 8:21 AM
    the kenney dialogs will look much more "frame like" too iirc
  • b

    bright-gpu-74537

    06/19/2020, 8:22 AM
    there are also "variants" too (checking now)
  • b

    bright-gpu-74537

    06/19/2020, 8:22 AM
    so yeah
    styleName='error'
  • b

    bright-gpu-74537

    06/19/2020, 8:23 AM
    (error, warning, question)
  • c

    clever-oil-61353

    06/19/2020, 8:24 AM
    looking good Xano
  • h

    handsome-television-62908

    06/19/2020, 8:35 AM
    Thanks Ian! Can't wait to actually start doing some sweet UI things in a game for once lol. And thanks for the tip! That's a nice one to have for the books haha
  • h

    handsome-television-62908

    06/19/2020, 8:35 AM
    Thanks Shaun 🙂
  • b

    bright-gpu-74537

    06/19/2020, 8:38 AM
    to be honest, i think im just gonna create a frame component... i have a few components i want to write (Drawer, Frame) and some i want to tweak (Image, Label, NumberStepper) - so hopefully this weekend... though i think i say that pretty much every weekend :/
  • h

    handsome-television-62908

    06/19/2020, 8:45 AM
    I feel that for sure . . . I am about 4 weeks behind on my project pretty much on the same note as that haha
  • f

    fast-rain-20339

    06/19/2020, 10:18 AM
    Cut, copy, paste, Control+Arrow Keys/Backspace/Delete all work as natively as I can tell 😄
  • f

    fast-rain-20339

    06/19/2020, 10:19 AM
    Textareas (multiline) don't seem to do anything when you click enter though, going to investigate that now
  • f

    fast-rain-20339

    06/19/2020, 10:20 AM
    Hm, pasting multiline text works fine 🤔
  • b

    bright-gpu-74537

    06/19/2020, 10:34 AM
    that was fast
  • f

    fast-rain-20339

    06/19/2020, 10:35 AM
    😄 Just found a control+delete edge case that causes a crash though, fixing now
  • f

    fast-rain-20339

    06/19/2020, 12:07 PM
    Fixed that edge case and single-line scrolling issues 😄 It's getting there. Pasting still causes some issues when text already in the text box is not fully visible... this'll be an odd one to diagnose.
  • f

    fast-rain-20339

    06/19/2020, 2:07 PM
    Am very much stuck on this issue. When `insertText()`ing (via pasted text) wrapping and caret offset both work correctly when the text remains on screen. If it goes off screen, the caret doesn't get to the end of the inserted text. It's bizarre, because I can't spot any wrapping or caret code that's dependent on the UI height!
  • c

    clever-oil-61353

    06/19/2020, 3:24 PM
    keep in mind i'm thinking of graphics oriented issues with this response.... but just in case its similar.... is there a buffer or such involved, that keeps up with whats offscreen? not rendered so to speak..... if so..... how much of the text is this buffer keeping up with thats off screen.....
  • b

    bright-gpu-74537

    06/19/2020, 3:46 PM
    there is a glScissor at work, but im not sure thats the issue, 5Mixer, maybe the best bet is to submit to a PR as is, then at least (apart from this edge case) there can be something so myself (and others) can look at it
1...282283284...1687Latest